]> www.infradead.org Git - users/jedix/linux-maple.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)
committerMark Brown <broonie@kernel.org>
Sun, 13 Apr 2025 19:23:28 +0000 (20:23 +0100)
commitf529c91be8a34ac12e7599bf87c65b6f4a2c9f5c
tree3d40a023b7629552864a7a30450bed5ac8eab85f
parent8ffd015db85fea3e15a77027fda6c02ced4d2444
ASoC: tas2770: Power cycle amp on ISENSE/VSENSE change

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>
sound/soc/codecs/tas2770.c