mirror of https://gitee.com/openkylin/linux.git
ASoC: si476x: Add missing break for SNDRV_PCM_FORMAT_S8 switch case
Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
19f949f525
commit
4e38b745af
|
@ -159,6 +159,7 @@ static int si476x_codec_hw_params(struct snd_pcm_substream *substream,
|
|||
switch (params_format(params)) {
|
||||
case SNDRV_PCM_FORMAT_S8:
|
||||
width = SI476X_PCM_FORMAT_S8;
|
||||
break;
|
||||
case SNDRV_PCM_FORMAT_S16_LE:
|
||||
width = SI476X_PCM_FORMAT_S16_LE;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue