From patchwork Fri Nov 9 04:24:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vasily Khoruzhick X-Patchwork-Id: 10675287 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 40B5013B0 for ; Fri, 9 Nov 2018 04:25:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2B4642DE49 for ; Fri, 9 Nov 2018 04:25:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1AF632E202; Fri, 9 Nov 2018 04:25:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9D0AE2DE49 for ; Fri, 9 Nov 2018 04:25:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=7A0sVVw+WBU+vVWb8q2tVwtCX7Zg1Yet16tMPGSc5Fg=; b=vEMOoII/eVWoje vINLqSaQDMfji1T8q7Uda0CRO8BqwChClCr12pSLhIBhP/LlG+shtbe3Snwt9oJ4coJZlJxDQytIm CgLo/HB4/DRF2LMxBeo6JKy/l904di8+kXH4Ad2ECJg/oF1mDkzN9CECmB06tJgpRCXnMlnv93Q1y ikLhmFsC7U4Xec6zkmQliIe0/7e4F51sXynLf/nzvT26+Vp0XJvsq+1QtQJbSLmlGSn0UfgAkvlHh 4cCJeBQX90E0BdEHdzNWHCfm1bSyrO+mCV5U9OgllbgxZG5SEdpavrtWHK+sdGyavkdZ073QxlVeq IwOOdH5aRBQyEwWGDq6g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gKyLr-0006Q5-4Y; Fri, 09 Nov 2018 04:24:59 +0000 Received: from mail-pg1-x541.google.com ([2607:f8b0:4864:20::541]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gKyLh-0006H6-4t for linux-arm-kernel@lists.infradead.org; Fri, 09 Nov 2018 04:24:50 +0000 Received: by mail-pg1-x541.google.com with SMTP id 32-v6so313434pgu.2 for ; Thu, 08 Nov 2018 20:24:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=nWShLaaMlEgOpO/eWbfUGsExi+ZoGFlzVp7knPLJTns=; b=ulYoL+IkcizWfl7vJEfO3/ut4eVxYJ07awIvXnZK31gE11Zjy5B8RvuicQPmg5Gt36 giSIGNPzqrKkzYKnHvQCWlxZPOlmSwoKMa56TszZ/tUbrGo3vVWgAWXpl7Q57lHP4/dc jY2hsW6tULsRc8fcjYL8iZBPnkOR5VaYLO+wOnQ2zHClu1Cu9FGeYnifkatQOWkbDO6P jazc4gpAstsBXqBrgFmTh5qG+/+Wx6GZTr1sfT99TpWaiF2zSBvYIOAelVUYiWZt4cid EuyNZrG9nfHUKSUZUx8IZyf83EPZKoI5qUQ1PssYxlAMsTR1EZhHUsXPWuPivbEaTC8M bdKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=nWShLaaMlEgOpO/eWbfUGsExi+ZoGFlzVp7knPLJTns=; b=Ylt8OS8+NvdQNVuwL8N1cSlWbGCv/+sar2E3GGh3jMma0LpeUtXAMetbp0gyIQYxH0 UV9Zgbt0IvT407DSNLDC/RkyUGX2GgQOMwyx2OTe5HL+OTT94SYApCg6npN5ULMst/7h U3wuxU5RFIF5OwjVv2t1L3tnA/XLyg+s2DuyWWR2QdXeJWWQsDkoNRSECxBg+0F8iVq1 kJXtowTScVWi3vVf4suJpFAcDuDUbtWqIcWeb7RE65RozOJd7hTeAAXmKv9Dy/stTQmF jvSvDW0czfAxe5RlwFwNI9zpvijLAe8pN9Ijix88kadKaNR1tM5B3yRKPlwmmGny0kEx eJ2g== X-Gm-Message-State: AGRZ1gLj/6SaBZGF1WE2KHvSOv5GqSu9h8i19KNXcUkk3+pMXtK9/TtF EECe6N06j3sTD89PqY5uDGc= X-Google-Smtp-Source: AJdET5cZ1uflPmTyFwBb+T2MQMus9vTHq6GggZWXLkAuXwvCTO1IxxKsqzJUUORSDiAs/OiZBX/EIA== X-Received: by 2002:a62:ce8e:: with SMTP id y136-v6mr7467294pfg.201.1541737473866; Thu, 08 Nov 2018 20:24:33 -0800 (PST) Received: from anarsoul-thinkpad.lan (216-71-193-140.dyn.novuscom.net. [216.71.193.140]) by smtp.gmail.com with ESMTPSA id f22-v6sm6018442pff.29.2018.11.08.20.24.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Nov 2018 20:24:33 -0800 (PST) From: Vasily Khoruzhick To: Maxime Ripard , Chen-Yu Tsai , Rob Herring , Mark Rutland , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Vasily Khoruzhick , Mylene JOSSERAND , Kuninori Morimoto , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, alsa-devel@alsa-project.org Subject: [PATCH v7 1/4] ASoC: sun8i-codec: add missing route for ADC Date: Thu, 8 Nov 2018 20:24:19 -0800 Message-Id: <20181109042422.25653-2-anarsoul@gmail.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181109042422.25653-1-anarsoul@gmail.com> References: <20181109042422.25653-1-anarsoul@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181108_202449_185256_62BFAD02 X-CRM114-Status: GOOD ( 13.90 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP sun8i-codec misses a route from ADC to AIF1 Slot 0 ADC. Add it to the driver to avoid adding it to every dts. Fixes: eda85d1fee05d ("ASoC: sun8i-codec: Add ADC support for a33") Signed-off-by: Vasily Khoruzhick --- sound/soc/sunxi/sun8i-codec.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sound/soc/sunxi/sun8i-codec.c b/sound/soc/sunxi/sun8i-codec.c index c4196d4e5915..92c5de026c43 100644 --- a/sound/soc/sunxi/sun8i-codec.c +++ b/sound/soc/sunxi/sun8i-codec.c @@ -481,7 +481,11 @@ static const struct snd_soc_dapm_route sun8i_codec_dapm_routes[] = { { "Right Digital DAC Mixer", "AIF1 Slot 0 Digital DAC Playback Switch", "AIF1 Slot 0 Right"}, - /* ADC routes */ + /* ADC Routes */ + { "AIF1 Slot 0 Right ADC", NULL, "ADC" }, + { "AIF1 Slot 0 Left ADC", NULL, "ADC" }, + + /* ADC Mixer Routes */ { "Left Digital ADC Mixer", "AIF1 Data Digital ADC Capture Switch", "AIF1 Slot 0 Left ADC" }, { "Right Digital ADC Mixer", "AIF1 Data Digital ADC Capture Switch",