Skip to content

Commit 6530305

Browse files
committed
ASoC: rk3308_codec: add suppot 4ch/6ch recording for codec
Change-Id: I4d5dd2c7d0f81966db0faf226b130601dcfcd0cf Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
1 parent 654983e commit 6530305

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

sound/soc/codecs/rk3308_codec.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -617,6 +617,8 @@ static int rk3308_hw_params(struct snd_pcm_substream *substream,
617617
cur_grp_max = 0;
618618
break;
619619
case 2:
620+
case 4:
621+
case 6:
620622
case 8:
621623
adc_aif1 |= RK3308_ADC_I2S_STEREO;
622624
cur_grp_max = (params_channels(params) - 1) / 2;

0 commit comments

Comments
 (0)