ASoC: tas2770: Insert post reset delay
authorMartin Povišer <povik+lin@cutebit.org>
Fri, 4 Feb 2022 09:53:01 +0000 (10:53 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 23 Feb 2022 11:06:01 +0000 (12:06 +0100)
commitce38a92097f74b6db3aa30431fd45b405cc1fa55
tree2ea0de3b64fda3a86ff57486313a047d6496f834
parentd69d98d8edf90e25e4e09930dd36dd6d09dd6768
ASoC: tas2770: Insert post reset delay

commit 307f31452078792aab94a729fce33200c6e42dc4 upstream.

Per TAS2770 datasheet there must be a 1 ms delay from reset to first
command. So insert delays into the driver where appropriate.

Fixes: 1a476abc723e ("tas2770: add tas2770 smart PA kernel driver")
Signed-off-by: Martin Povišer <povik+lin@cutebit.org>
Link: https://lore.kernel.org/r/20220204095301.5554-1-povik+lin@cutebit.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/codecs/tas2770.c