ASoC: rt1308-sdw: fix random louder sound

This patch uses a vendor register to check whether the system hibernated ever.
The driver will only set the preset when the driver brings up or the system hibernated.
It will avoid the unknown issue that makes the speaker output louder and can't control the volume.

Signed-off-by: Shuming Fan <shumingf@realtek.com
Link: https://lore.kernel.org/r/20230811093822.37573-1-shumingf@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org
This commit is contained in:
Shuming Fan 2023-08-11 17:38:22 +08:00 • committed by Mark Brown
commit 37aba31908
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0