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:01:04 +0000 (12:01 +0100)
commitdc6faa0ede4d190b25980dd648e2be808fc58ff5
treed8fcb0fd52132a7bfe089300303b3993d2228a54
parent9dcedbe943be8c93722c1ed68b59001b28b0d889
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