Skip to content

Commit

Permalink
ASoC: wm8994: missing break in wm8994_aif3_hw_params()
Browse files Browse the repository at this point in the history
The missing break here means that we always return early and the
function is a no-op.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@vger.kernel.org
  • Loading branch information
Dan Carpenter authored and broonie committed Apr 30, 2013
1 parent c1be5a5 commit 4495e46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/soc/codecs/wm8994.c
Original file line number Diff line number Diff line change
Expand Up @@ -2841,6 +2841,7 @@ static int wm8994_aif3_hw_params(struct snd_pcm_substream *substream,
default:
return 0;
}
break;
default:
return 0;
}
Expand Down

0 comments on commit 4495e46

Please sign in to comment.