]> 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:07:32 +0000 (11:07 +0100)
commitc81a60bf4b18a9a658bc4766b20190c47bf7a2b9
tree32ec458788146e04d0745f78941cf638ed7ae07c
parent475c69146b0863ffe59c2165315a77ce17531153
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