diff options
author | John Stultz <john.stultz@linaro.org> | 2017-04-11 15:15:17 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-04-11 16:20:51 -0400 |
commit | 16c1c089b23aea681600d504102db950c1bd6ee4 (patch) | |
tree | 74fcbd2860ac0f7fd26c4dfc3fab970a6cc20c10 | |
parent | da13d7462b013ab58129fe20bfb3acb3aa73e07e (diff) |
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>
-rw-r--r-- | sound/soc/hisilicon/hi6210-i2s.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/hisilicon/hi6210-i2s.c b/sound/soc/hisilicon/hi6210-i2s.c index 1909bfc6950a..27553dca7cc6 100644 --- a/sound/soc/hisilicon/hi6210-i2s.c +++ b/sound/soc/hisilicon/hi6210-i2s.c | |||
@@ -324,6 +324,7 @@ static int hi6210_i2s_hw_params(struct snd_pcm_substream *substream, | |||
324 | default: | 324 | default: |
325 | i2s->bits = 16; | 325 | i2s->bits = 16; |
326 | dma_data->addr_width = 2; | 326 | dma_data->addr_width = 2; |
327 | break; | ||
327 | } | 328 | } |
328 | i2s->rate = params_rate(params); | 329 | i2s->rate = params_rate(params); |
329 | i2s->channels = params_channels(params); | 330 | i2s->channels = params_channels(params); |
@@ -442,6 +443,7 @@ static int hi6210_i2s_hw_params(struct snd_pcm_substream *substream, | |||
442 | val = hi6210_read_reg(i2s, HII2S_I2S_CFG); | 443 | val = hi6210_read_reg(i2s, HII2S_I2S_CFG); |
443 | val &= ~HII2S_I2S_CFG__S2_FRAME_MODE; | 444 | val &= ~HII2S_I2S_CFG__S2_FRAME_MODE; |
444 | hi6210_write_reg(i2s, HII2S_I2S_CFG, val); | 445 | hi6210_write_reg(i2s, HII2S_I2S_CFG, val); |
446 | break; | ||
445 | } | 447 | } |
446 | 448 | ||
447 | /* clear loopback, set signed type and word length */ | 449 | /* clear loopback, set signed type and word length */ |