ASoC: tas5720: set bit 7 in ANALOG_CTRL_REG for TAS5720A-Q1 during probe
authorSteffen Aschbacher <steffen.aschbacher@stihl.de>
Sat, 28 Jan 2023 08:27:43 +0000 (10:27 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 30 Jan 2023 13:35:15 +0000 (13:35 +0000)
commit88f748e38b283702a620e635820f1864bf32db0e
tree07dba4e411d7498464bc11a381a20b39e9e050e9
parentc24a62be09d8a0c7ede1c209055a4ac6760a45ee
ASoC: tas5720: set bit 7 in ANALOG_CTRL_REG for TAS5720A-Q1 during probe

Set the reserved bit 7 in the ANALOG_CTRL_REG for the TAS5720A-Q1 device,
when probing.
The datasheet mentions that the bit should be 1 during reset/powerup.

The device did not initialize before setting this value to 1. So, this
could be a quirk of this device. Or it could be a quirk with the board on
which it was tested.
That is why this patch is separate from the patch that adds support for the
TAS5720A-Q1 device.

Signed-off-by: Steffen Aschbacher <steffen.aschbacher@stihl.de>
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
Link: https://lore.kernel.org/r/20230128082744.41849-3-alex@shruggie.ro
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas5720.c
sound/soc/codecs/tas5720.h