Commit 16c1c089 authored by John Stultz's avatar John Stultz Committed by Mark Brown

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: default avatarJohn Stultz <john.stultz@linaro.org>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent da13d746
...@@ -324,6 +324,7 @@ static int hi6210_i2s_hw_params(struct snd_pcm_substream *substream, ...@@ -324,6 +324,7 @@ static int hi6210_i2s_hw_params(struct snd_pcm_substream *substream,
default: default:
i2s->bits = 16; i2s->bits = 16;
dma_data->addr_width = 2; dma_data->addr_width = 2;
break;
} }
i2s->rate = params_rate(params); i2s->rate = params_rate(params);
i2s->channels = params_channels(params); i2s->channels = params_channels(params);
...@@ -442,6 +443,7 @@ static int hi6210_i2s_hw_params(struct snd_pcm_substream *substream, ...@@ -442,6 +443,7 @@ static int hi6210_i2s_hw_params(struct snd_pcm_substream *substream,
val = hi6210_read_reg(i2s, HII2S_I2S_CFG); val = hi6210_read_reg(i2s, HII2S_I2S_CFG);
val &= ~HII2S_I2S_CFG__S2_FRAME_MODE; val &= ~HII2S_I2S_CFG__S2_FRAME_MODE;
hi6210_write_reg(i2s, HII2S_I2S_CFG, val); hi6210_write_reg(i2s, HII2S_I2S_CFG, val);
break;
} }
/* clear loopback, set signed type and word length */ /* clear loopback, set signed type and word length */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment