mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
ASoC: rk3308_codec: add suppot 4ch/6ch recording for codec
Change-Id: I4d5dd2c7d0f81966db0faf226b130601dcfcd0cf Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user