Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752905AbcD0J5i (ORCPT ); Wed, 27 Apr 2016 05:57:38 -0400 Received: from mx0b-001ae601.pphosted.com ([67.231.152.168]:52605 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752217AbcD0J5f (ORCPT ); Wed, 27 Apr 2016 05:57:35 -0400 Authentication-Results: ppops.net; spf=none smtp.mail=rf@opensource.wolfsonmicro.com Message-ID: <1461751047.3071.2.camel@rf-debian.wolfsonmicro.main> Subject: Re: [PATCH RESEND] ASoC: arizona: Do not create OUT4R widget for CS47L24/WM1831 From: Richard Fitzgerald To: CC: , , Date: Wed, 27 Apr 2016 10:57:27 +0100 In-Reply-To: <1461749873-18373-1-git-send-email-rf@opensource.wolfsonmicro.com> References: <1461749873-18373-1-git-send-email-rf@opensource.wolfsonmicro.com> Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.4.4-3 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 impostorscore=0 lowpriorityscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1603290000 definitions=main-1604270158 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 833 Lines: 28 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 > --- > 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.