* [PATCH RESEND] ASoC: arizona: Do not create OUT4R widget for CS47L24/WM1831
@ 2016-04-27 9:37 Richard Fitzgerald
2016-04-27 9:57 ` Richard Fitzgerald
0 siblings, 1 reply; 2+ messages in thread
From: Richard Fitzgerald @ 2016-04-27 9:37 UTC (permalink / raw)
To: broonie; +Cc: patches, alsa-devel, linux-kernel
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>
---
sound/soc/codecs/arizona.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sound/soc/codecs/arizona.c b/sound/soc/codecs/arizona.c
index da61c62..0cd27e0 100644
--- a/sound/soc/codecs/arizona.c
+++ b/sound/soc/codecs/arizona.c
@@ -223,6 +223,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);
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH RESEND] ASoC: arizona: Do not create OUT4R widget for CS47L24/WM1831
2016-04-27 9:37 [PATCH RESEND] ASoC: arizona: Do not create OUT4R widget for CS47L24/WM1831 Richard Fitzgerald
@ 2016-04-27 9:57 ` Richard Fitzgerald
0 siblings, 0 replies; 2+ messages in thread
From: Richard Fitzgerald @ 2016-04-27 9:57 UTC (permalink / raw)
To: broonie; +Cc: alsa-devel, patches, linux-kernel
On Wed, 2016-04-27 at 10:37 +0100, Richard Fitzgerald wrote:
> 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>
> ---
> sound/soc/codecs/arizona.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/sound/soc/codecs/arizona.c b/sound/soc/codecs/arizona.c
> index da61c62..0cd27e0 100644
> --- a/sound/soc/codecs/arizona.c
> +++ b/sound/soc/codecs/arizona.c
> @@ -223,6 +223,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);
Sorry, ignore this.
I didn't get an ack email but I can see that it has already been
applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-04-27 9:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-27 9:37 [PATCH RESEND] ASoC: arizona: Do not create OUT4R widget for CS47L24/WM1831 Richard Fitzgerald
2016-04-27 9:57 ` Richard Fitzgerald
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).