]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: tas2770: Power cycle amp on ISENSE/VSENSE change
authorHector Martin <marcan@marcan.st>
Sat, 5 Apr 2025 23:15:05 +0000 (09:15 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2025 10:05:28 +0000 (11:05 +0100)
commit15fa571eedf1858327a381b4fbd014d94adadb75
tree3c3effcf59fd469789319c50b781cd4affc7d61a
parent6448774d5889cb5f1d1591eed53afe04c9da23f0
ASoC: tas2770: Power cycle amp on ISENSE/VSENSE change

[ Upstream commit f529c91be8a34ac12e7599bf87c65b6f4a2c9f5c ]

The ISENSE/VSENSE blocks are only powered up when the amplifier
transitions from shutdown to active. This means that if those controls
are flipped on while the amplifier is already playing back audio, they
will have no effect.

Fix this by forcing a power cycle around transitions in those controls.

Reviewed-by: Neal Gompa <neal@gompa.dev>
Signed-off-by: Hector Martin <marcan@marcan.st>
Signed-off-by: James Calligeros <jcalligeros99@gmail.com>
Link: https://patch.msgid.link/20250406-apple-codec-changes-v5-1-50a00ec850a3@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/codecs/tas2770.c