Skip to content

Commit

Permalink
ASoC: arizona: Do not create OUT4R widget for CS47L24/WM1831
Browse files Browse the repository at this point in the history
The CS47L24 and WM1831 codecs only use the OUT4L widget so we can
skip creation of the OUT4R widget.

Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Richard Fitzgerald authored and Mark Brown committed Apr 11, 2016
1 parent f55532a commit 43b27d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sound/soc/codecs/arizona.c
Original file line number Diff line number Diff line change
@@ -221,6 +221,8 @@ int arizona_init_spk(struct snd_soc_codec *codec)

switch (arizona->type) {
case WM8997:
case CS47L24:
case WM1831:
break;
default:
ret = snd_soc_dapm_new_controls(dapm, &arizona_spkr, 1);

0 comments on commit 43b27d7

Please sign in to comment.