audio-kernel: Compilation fixes with "Break" and "fallthrough"
Compilation fixes with "Break" and "fallthrough". Change-Id: Ica05d0410efc5e9dc52addcf4cd8c0253f49fada
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
ee00c83a92
commit
1dacaf014f
@@ -784,6 +784,7 @@ static int lpass_cdc_wsa2_macro_hw_params(struct snd_pcm_substream *substream,
|
||||
case SNDRV_PCM_STREAM_CAPTURE:
|
||||
if (dai->id == LPASS_CDC_WSA2_MACRO_AIF_VI)
|
||||
wsa2_priv->pcm_rate_vi = params_rate(params);
|
||||
|
||||
switch (params_width(params)) {
|
||||
case 16:
|
||||
wsa2_priv->bit_width[dai->id] = 16;
|
||||
@@ -798,7 +799,8 @@ static int lpass_cdc_wsa2_macro_hw_params(struct snd_pcm_substream *substream,
|
||||
dev_err_ratelimited(component->dev, "%s: Invalid format 0x%x\n",
|
||||
__func__, params_width(params));
|
||||
return -EINVAL;
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
@@ -1425,6 +1427,7 @@ static int lpass_cdc_wsa2_macro_config_compander(struct snd_soc_component *compo
|
||||
case EXT_3S:
|
||||
upper_gain = sys_gain_int;
|
||||
lower_gain = 75;
|
||||
break;
|
||||
case EXT_ABOVE_3S:
|
||||
upper_gain = sys_gain_int;
|
||||
lower_gain = 120;
|
||||
|
Reference in New Issue
Block a user