diff options
author | Xing Zheng <zhengxing@rock-chips.com> | 2018-04-23 21:33:28 +0800 |
---|---|---|
committer | Xing Zheng <zhengxing@rock-chips.com> | 2018-04-24 19:28:41 +0800 |
commit | 6530305c0ddf2ff8bc3ffddf84918275df024df4 (patch) | |
tree | 5e75433d9be209c462449bb81714612dcd7adb8e /sound | |
parent | 654983e94db39e56e9672362e8ad0690e3ff58bf (diff) |
ASoC: rk3308_codec: add suppot 4ch/6ch recording for codec
Change-Id: I4d5dd2c7d0f81966db0faf226b130601dcfcd0cf
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/rk3308_codec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/rk3308_codec.c b/sound/soc/codecs/rk3308_codec.c index 328217da3aef..19428b045d8b 100644 --- a/sound/soc/codecs/rk3308_codec.c +++ b/sound/soc/codecs/rk3308_codec.c @@ -617,6 +617,8 @@ static int rk3308_hw_params(struct snd_pcm_substream *substream, cur_grp_max = 0; break; case 2: + case 4: + case 6: case 8: adc_aif1 |= RK3308_ADC_I2S_STEREO; cur_grp_max = (params_channels(params) - 1) / 2; |