ASoC: hisilicon: Address style nit to use break in final default of switch statement
Mark Brown suggested a style change to use break in the final default of a switch statement, so this patch addresses that. Signed-off-by: John Stultz <john.stultz@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
da13d7462b
commit
16c1c089b2
|
@ -324,6 +324,7 @@ static int hi6210_i2s_hw_params(struct snd_pcm_substream *substream,
|
|||
default:
|
||||
i2s->bits = 16;
|
||||
dma_data->addr_width = 2;
|
||||
break;
|
||||
}
|
||||
i2s->rate = params_rate(params);
|
||||
i2s->channels = params_channels(params);
|
||||
|
@ -442,6 +443,7 @@ static int hi6210_i2s_hw_params(struct snd_pcm_substream *substream,
|
|||
val = hi6210_read_reg(i2s, HII2S_I2S_CFG);
|
||||
val &= ~HII2S_I2S_CFG__S2_FRAME_MODE;
|
||||
hi6210_write_reg(i2s, HII2S_I2S_CFG, val);
|
||||
break;
|
||||
}
|
||||
|
||||
/* clear loopback, set signed type and word length */
|
||||
|
|
Loading…
Reference in New Issue