ASoC: rt712-sdca: fix coding style and unconditionally return issues
authorShuming Fan <shumingf@realtek.com>
Fri, 10 Feb 2023 08:21:41 +0000 (16:21 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 10 Feb 2023 15:08:13 +0000 (15:08 +0000)
commite093e74b819b38074f07289da9933f9c413337ab
tree4183a85cbd8ac29bc045f5668ca721d2f0fb64f6
parent1ad059a15707cfb066ae3d7342d59770f04aac5a
ASoC: rt712-sdca: fix coding style and unconditionally return issues

This patch fixes
1. coding style issues
2. check if the setting was set already in rt712_sdca_mux_put callback

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