diff options
author | Bard Liao <bardliao@realtek.com> | 2016-04-26 10:07:11 (GMT) |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-04-26 10:11:08 (GMT) |
commit | 9ff49ce475cfeaf486321a2db8132a9500740faa (patch) | |
tree | acfb10df06980c72b9176c8208497462ce1f0c64 /lib/kasprintf.c | |
parent | 3c9e014c442caefa14c71494ca4473121007f60f (diff) | |
download | linux-9ff49ce475cfeaf486321a2db8132a9500740faa.tar.xz |
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 'lib/kasprintf.c')
0 files changed, 0 insertions, 0 deletions