]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ASoC: rt1308-sdw: add the default value of some registers
authorShuming Fan <shumingf@realtek.com>
Wed, 19 Oct 2022 09:57:15 +0000 (17:57 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 19 Oct 2022 12:39:33 +0000 (13:39 +0100)
commit75d8b1662ca5c20cf8365575222abaef18ff1f50
tree4827fb438c308b60dca0b95b4189fbcbbd02ddbe
parent00aaf8bfe0ee2b807b452df806d725e080d85404
ASoC: rt1308-sdw: add the default value of some registers

The driver missed the default value of register 0xc070/0xc360.
This patch adds that default value to avoid invalid register access
when the device doesn't be enumerated yet.
BugLink: https://github.com/thesofproject/linux/issues/3924
Signed-off-by: Shuming Fan <shumingf@realtek.com>
Link: https://lore.kernel.org/r/20221019095715.31082-1-shumingf@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt1308-sdw.h