mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
ASoC: rk3308_codec: Fix the dummy loopback
If we playback before capture, the loopback will be switch to BIST SINE mode by other ADC grps. Let's fix it. Change-Id: Ib18a32d87dfed4343edc439bd5c705295eca06f3 Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
This commit is contained in:
@@ -2639,6 +2639,7 @@ static int rk3308_codec_open_capture(struct rk3308_codec_priv *rk3308)
|
||||
} else {
|
||||
for (idx = 0; adc_for_each_grp(rk3308, type, idx, &grp); idx++) {
|
||||
if (has_loopback(rk3308->loopback_grp) &&
|
||||
idx == rk3308->loopback_grp &&
|
||||
grp == ADC_GRP_SKIP_MAGIC) {
|
||||
/*
|
||||
* Switch to dummy BIST mode (BIST keep reset
|
||||
|
||||
Reference in New Issue
Block a user