Message ID | 20180829150051.18190-3-jbrunet@baylibre.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <alsa-devel-bounces@alsa-project.org> 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 5F4D35A4 for <patchwork-alsa-devel@patchwork.kernel.org>; Wed, 29 Aug 2018 15:20:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4CCE42B4E7 for <patchwork-alsa-devel@patchwork.kernel.org>; Wed, 29 Aug 2018 15:20:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3EC912B55B; Wed, 29 Aug 2018 15:20:21 +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=-2.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3B5B42B4E7 for <patchwork-alsa-devel@patchwork.kernel.org>; Wed, 29 Aug 2018 15:20:10 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id A32DB267922; Wed, 29 Aug 2018 17:01:06 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 5C9CD2678FC; Wed, 29 Aug 2018 17:01:02 +0200 (CEST) Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by alsa0.perex.cz (Postfix) with ESMTP id 9D65726766C for <alsa-devel@alsa-project.org>; Wed, 29 Aug 2018 17:01:00 +0200 (CEST) Received: by mail-wr1-f66.google.com with SMTP id o37-v6so5144357wrf.6 for <alsa-devel@alsa-project.org>; Wed, 29 Aug 2018 08:01:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=uUbMF3nMXRw/+9rZqOfjCDmKj73BdEnRsLVytA1Yk6Q=; b=0qD3Raki6lB/dZdEao0Ktml94uXot/dSS2tppB4k29vIR+pPbhOxyo7/ThW4SPQRFN PbvK+G9wfCmlbu4OZKsZsk01A7I8QrqN+8t1/XrHvM0iC4IO6aS5RWGZ7APzw5E4Bgyr be7kof5G/dnfyuUXiodeJSUHC7+6ns0SVX1/Dz+9wduczCnWEO/+8Lhu21Y54dQxLEbc OOs1ntOO/mJcoMiFZNLWrFQUFi8/3ghJZrB+G0bq0pl9sIBCjv+kZHUmgfm7aBpfPK+B jpqL0GfqFexxko70eCdQCrL0KxCyysMFhG7tO1MeSUhXzFiuXmrlPBfXDk0fBJnW7UQW rghg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=uUbMF3nMXRw/+9rZqOfjCDmKj73BdEnRsLVytA1Yk6Q=; b=OmIZM+KHNwLt/Q64btA6Nd/boJmz1EWOMeSM/wm0FVBJrcLQZn/PmiX3mgLr6pAiMo ANMpR0Hm/KZjGogPBvBnTCWbJrW5gzFD0Zb7xW/aBwlQHrDw0xWpY7ps4yLGRpTlR13o 4+Gy8Rv8MxHreDnMPh7cDBGVRyfNzZDo+iI+XkuyER5jO0iCuRqIgdeAH2dtg3MqI93E pHQgaR1umrAevhxhDDwmEQ1tnN6Ipf26SZXFbTXes7RMBFhzhO7hBjBRt8iFYltUZLvY 4v+egQWi3niavt8jzTZk/6s0HgqPYfbfzaUaNfyy7i0eKouLXuLextQuHj6kuZdcWWVr vJdg== X-Gm-Message-State: APzg51CRK/0oaUIjQZBIYUvYu1hgRwgb4DkW7LveUGAbhT90W/3YbBT4 7fXMm8q/R7iJBNwFXrYQPk58yA== X-Google-Smtp-Source: ANB0VdYnfu/IKQTnk/aEzhvE9cihI8Y4ivp9rJaXlTK4WkF3+uJ+N4RZRZBevvc5j/3nVFmVhFGCmg== X-Received: by 2002:adf:9101:: with SMTP id j1-v6mr4638185wrj.3.1535554860163; Wed, 29 Aug 2018 08:01:00 -0700 (PDT) Received: from boomer.baylibre.local ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id v46-v6sm7267217wrc.63.2018.08.29.08.00.58 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 29 Aug 2018 08:00:59 -0700 (PDT) From: Jerome Brunet <jbrunet@baylibre.com> To: Mark Brown <broonie@kernel.org>, Liam Girdwood <lgirdwood@gmail.com>, Kevin Hilman <khilman@baylibre.com>, Carlo Caione <carlo@caione.org> Date: Wed, 29 Aug 2018 17:00:49 +0200 Message-Id: <20180829150051.18190-3-jbrunet@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180829150051.18190-1-jbrunet@baylibre.com> References: <20180829150051.18190-1-jbrunet@baylibre.com> Cc: linux-amlogic@lists.infradead.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Jerome Brunet <jbrunet@baylibre.com> Subject: [alsa-devel] [PATCH 2/4] ASoC: dmic: add DT module alias X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" <alsa-devel.alsa-project.org> List-Unsubscribe: <http://mailman.alsa-project.org/mailman/options/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=unsubscribe> List-Archive: <http://mailman.alsa-project.org/pipermail/alsa-devel/> List-Post: <mailto:alsa-devel@alsa-project.org> List-Help: <mailto:alsa-devel-request@alsa-project.org?subject=help> List-Subscribe: <http://mailman.alsa-project.org/mailman/listinfo/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series | ASoC: meson-axg: add pdm input support | expand |
diff --git a/sound/soc/codecs/dmic.c b/sound/soc/codecs/dmic.c index 8c4926df9286..71322e0410ee 100644 --- a/sound/soc/codecs/dmic.c +++ b/sound/soc/codecs/dmic.c @@ -148,6 +148,7 @@ static const struct of_device_id dmic_dev_match[] = { {.compatible = "dmic-codec"}, {} }; +MODULE_DEVICE_TABLE(of, dmic_dev_match); static struct platform_driver dmic_driver = { .driver = {
Before this patch the only alias provided by the dmic module is: alias: platform:dmic-codec Device instantiated from DT will not probe automatically with this After this patch, here is the new alias list: alias: platform:dmic-codec alias: of:N*T*Cdmic-codecC* alias: of:N*T*Cdmic-codec Now the dmic codec probes automatically when instantiated from DT. Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> --- sound/soc/codecs/dmic.c | 1 + 1 file changed, 1 insertion(+)