[alsa-devel] [PATCH] ASoC: Add missing break in WM8994 probe

Liam Girdwood lrg at ti.com
Wed Aug 10 23:28:06 CEST 2011


On 10/08/11 14:20, Mark Brown wrote:
> This error would have no effect on current silicon revisions, the fall
> through case has the same behaviour.
> 
> Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
> ---
>  sound/soc/codecs/wm8994.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c
> index 1a9ef7f..e1fb844 100644
> --- a/sound/soc/codecs/wm8994.c
> +++ b/sound/soc/codecs/wm8994.c
> @@ -3042,6 +3042,7 @@ static int wm8994_codec_probe(struct snd_soc_codec *codec)
>  			wm8994->hubs.dcs_readback_mode = 2;
>  			break;
>  		}
> +		break;
>  
>  	case WM8958:
>  		wm8994->hubs.dcs_readback_mode = 1;

Acked-by: Liam Girdwood <lrg at ti.com>


More information about the Alsa-devel mailing list