Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754563AbdCTLuv convert rfc822-to-8bit (ORCPT ); Mon, 20 Mar 2017 07:50:51 -0400 Received: from smtp.csie.ntu.edu.tw ([140.112.30.61]:32920 "EHLO smtp.csie.ntu.edu.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754295AbdCTLte (ORCPT ); Mon, 20 Mar 2017 07:49:34 -0400 MIME-Version: 1.0 In-Reply-To: <20170318075509.3836-5-mylene.josserand@free-electrons.com> References: <20170318075509.3836-1-mylene.josserand@free-electrons.com> <20170318075509.3836-5-mylene.josserand@free-electrons.com> From: Chen-Yu Tsai Date: Mon, 20 Mar 2017 19:49:03 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 4/5] ASoC: sun8i-codec: Convert to use SND_SOC_DAPM_AIF_IN To: =?UTF-8?Q?Myl=C3=A8ne_Josserand?= Cc: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Maxime Ripard , Chen-Yu Tsai , Rob Herring , Mark Rutland , Linux-ALSA , linux-arm-kernel , linux-kernel , devicetree , Thomas Petazzoni , Alexandre Belloni Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1537 Lines: 46 On Sat, Mar 18, 2017 at 3:55 PM, Mylène Josserand wrote: > Update the driver to use SND_SOC_DAPM_AIF_IN instead of > SND_SOC_DAPM_DAC. > Rename the interface's widgets to be more precise on which slot > the interface is connected. > > Signed-off-by: Mylène Josserand > --- > sound/soc/sunxi/sun8i-codec.c | 20 +++++++++++--------- > 1 file changed, 11 insertions(+), 9 deletions(-) > > diff --git a/sound/soc/sunxi/sun8i-codec.c b/sound/soc/sunxi/sun8i-codec.c > index adb13fbd2006..7527ba29a5a0 100644 > --- a/sound/soc/sunxi/sun8i-codec.c > +++ b/sound/soc/sunxi/sun8i-codec.c [...] > @@ -331,14 +333,14 @@ static const struct snd_soc_dapm_route sun8i_codec_dapm_routes[] = { > { "DAC", NULL, "MODCLK DAC" }, > > /* DAC Routes */ > - { "Digital Left DAC", NULL, "DAC" }, > - { "Digital Right DAC", NULL, "DAC" }, > + { "AIF1 Slot 0 Right", NULL, "DAC" }, > + { "AIF1 Slot 0 Left", NULL, "DAC" }, Nit on the order (should be left before right), but otherwise Acked-by: Chen-Yu Tsai > > /* DAC Mixer Routes */ > { "Left Digital DAC Mixer", "AIF1 Slot 0 Digital DAC Playback Switch", > - "Digital Left DAC"}, > + "AIF1 Slot 0 Left"}, > { "Right Digital DAC Mixer", "AIF1 Slot 0 Digital DAC Playback Switch", > - "Digital Right DAC"}, > + "AIF1 Slot 0 Right"}, > }; > > static struct snd_soc_dai_ops sun8i_codec_dai_ops = { > -- > 2.11.0 >