OSDN Git Service

ASoC: rt5682s: Reduce coupling of Micbias and Vref2 settings
authorDerek Fang <derek.fang@realtek.com>
Tue, 13 Sep 2022 02:56:56 +0000 (10:56 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 19 Sep 2022 16:52:48 +0000 (17:52 +0100)
commitbfc5e8b860ad2a87269975a6043aa6bb245d44bb
treeae135e1ef6dc90061255f9b62373ae098db587d6
parent9fc2c8ed923d8ec8a49cf5b5076c84867126ca69
ASoC: rt5682s: Reduce coupling of Micbias and Vref2 settings

Some parts of rt5682s CCF function are implemented by
'MICBIAS' and 'Vref2' dapm widgets.

There is a risk of causing not expected behavior if we
mix using dapm and CCF operations in machine specific code.
This patch reduces the coupling.

Signed-off-by: Derek Fang <derek.fang@realtek.com>
Link: https://lore.kernel.org/r/20220913025658.5005-1-derek.fang@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5682s.c
sound/soc/codecs/rt5682s.h