Applied "ASoC: hisilicon: Address style nit to use break in final default of switch statement" to the asoc tree
Mark Brown
maintainerThe patch
ASoC: hisilicon: Address style nit to use break in final default of switch statement
has been applied to the asoc tree at
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark
Quoted 1 line
From
16c1c089b23aea681600d504102db950c1bd6ee4Mon Sep 17 00:00:00 2001
From: John Stultz <[email protected]>
Date: Tue, 11 Apr 2017 12:15:17 -0700
Subject: [PATCH] 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.
--- sound/soc/hisilicon/hi6210-i2s.c | 2 ++ 1 file changed, 2 insertions(+)
sound/soc/hisilicon/hi6210-i2s.c +2 -0
@@ -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 */
Signature · 1 line
2.11.0