Message ID | 20180829150051.18190-3-jbrunet@baylibre.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show
Return-Path: <linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.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 6ADC914BD for <patchwork-linux-amlogic@patchwork.kernel.org>; Wed, 29 Aug 2018 15:01:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5A9C62B4EC for <patchwork-linux-amlogic@patchwork.kernel.org>; Wed, 29 Aug 2018 15:01:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 572A32B58E; Wed, 29 Aug 2018 15:01:27 +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.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 8D6092B58E for <patchwork-linux-amlogic@patchwork.kernel.org>; Wed, 29 Aug 2018 15:01:25 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=cZv/AVHzgoeN7YIf+VMlGqRu+AS3G5YPaAxLe3ntZuY=; b=CZJB4s9g6TrC/qEWrgTylUztwN JJLYioAdc518+6iDXheQ+b7Jk0h3G5/K7qnWQFXpKLHMYEASdVmPVYwySO+gOMrj7vxHg4MveV/lZ 8nttMeYpW2pdZRBLSi1s6Ae37DpYQLpHtAqoHV4Ff1YVGL9k+m9rvVwQ3D/A+AqvA04qE56/J0IWM OfiNhTdbHM/5rznVmEdGuEZJyHBib3DTRS3L/66VWKmURIs5oJktK1GdXqYCAVMWXKGDygm9q1ERN faNV1qXiYVYt89I4Re2+6nDvEBvl3NfvRHTcOzhWfQKPrx14DXU8KxI2RO8q5eRh8CaQP6ueTcK6u i6n2lx0Q==; 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 1fv1yD-0005hO-Vv; Wed, 29 Aug 2018 15:01:22 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fv1y1-0005dA-Mz for linux-amlogic@lists.infradead.org; Wed, 29 Aug 2018 15:01:13 +0000 Received: by mail-wr1-x444.google.com with SMTP id g33-v6so5166381wrd.1 for <linux-amlogic@lists.infradead.org>; Wed, 29 Aug 2018 08:01:01 -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=mhyexsGED5JYGcDg3TBXfoJEgAZrDoMlZ/AXzBI/84eI0mSOtwvlUS6WJ/LWT3HYZe FPvhs5HmGP+RNIwu9jbgKlz3v65MP4IkpRwA7eJvLki4WczWGR+LBbZv+oRAv81Ilh3c 6vPBn8POMdYLlEOKfzgeYkxn6LMkynH3ebFz63eev/HlmREnFHkOXSex9VIudKnJzSS6 GDQXdpMwa8fAZ5jrJq6iGaMElobcg/fG/HOTmKQHZAubahCmWst+xKn0bhaTxva8fAhn QDCtGJrC4MirIfPUZ7thzykKEVxNlbNuAMepmHF3fILHzWFmfcTKIJuiF7s8qeXVdDDh pqKA== X-Gm-Message-State: APzg51BoPIhirtEY3p4xAtSD+lX/ahTh5HVvoZmEANNaX8lTuEhcc2kI IvQbWJWzffxxZzmBtn/ViKy31w== 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> Subject: [PATCH 2/4] ASoC: dmic: add DT module alias 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180829_080109_836619_ABE7339A X-CRM114-Status: GOOD ( 10.45 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-amlogic.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-amlogic>, <mailto:linux-amlogic-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-amlogic/> List-Post: <mailto:linux-amlogic@lists.infradead.org> List-Help: <mailto:linux-amlogic-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-amlogic>, <mailto:linux-amlogic-request@lists.infradead.org?subject=subscribe> Cc: linux-amlogic@lists.infradead.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Jerome Brunet <jbrunet@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" <linux-amlogic-bounces@lists.infradead.org> Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.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(+)