ASoC: rt1308-sdw: update the preset settings
authorShuming Fan <shumingf@realtek.com>
Wed, 19 Oct 2022 09:57:31 +0000 (17:57 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 19 Oct 2022 12:39:33 +0000 (13:39 +0100)
commit00aaf8bfe0ee2b807b452df806d725e080d85404
treec0aa829b2bda5fa300f9a80b7be796710ede039a
parentaf6514f2f3828dc39c96cd4686ef5c9d8368626f
ASoC: rt1308-sdw: update the preset settings

This patch updates the pad control and checks the
hardware version to set the different preset settings.

Signed-off-by: Shuming Fan <shumingf@realtek.com>
Link: https://lore.kernel.org/r/20221019095731.31101-1-shumingf@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt1308-sdw.c
sound/soc/codecs/rt1308-sdw.h
sound/soc/codecs/rt1308.h