summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/rl6347a.c
diff options
context:
space:
mode:
authorBard Liao <bardliao@realtek.com>2016-04-26 18:07:11 +0800
committerMark Brown <broonie@kernel.org>2016-04-26 11:11:08 +0100
commit9ff49ce475cfeaf486321a2db8132a9500740faa (patch)
treeacfb10df06980c72b9176c8208497462ce1f0c64 /sound/soc/codecs/rl6347a.c
parent3c9e014c442caefa14c71494ca4473121007f60f (diff)
downloadlinux-9ff49ce475cfeaf486321a2db8132a9500740faa.tar.bz2
ASoC: rt298: fix capture doesn't work at some cases
RT298_CBJ_CTRL1(0x4f) bit 10 is needed for headset capture. It will be turned off when "VREF" widget is on and be turned on when bias level is ON. It is odd. And if "VREF" is turned on in bias level is ON, RT298_CBJ_CTRL1(0x4f) bit 10 will be turned off. This patch move the bit control from rt298_set_bias_level and rt298_vref_event to rt298_jack_detect. So it will be turned on once a jack is plugged in. Signed-off-by: Bard Liao <bardliao@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rl6347a.c')
0 files changed, 0 insertions, 0 deletions