Message ID | 20221107160437.740353-10-nfraprado@collabora.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2144178wru; Mon, 7 Nov 2022 08:09:04 -0800 (PST) X-Google-Smtp-Source: AMsMyM5KAow3rRy3Zf0y26vIrxYXoY2oQkuk/Jq/j6+skllQHXcUcpS/DbmU1Tp0RTZ0SANX0rj6 X-Received: by 2002:a17:907:ea1:b0:7a5:7e25:5b11 with SMTP id ho33-20020a1709070ea100b007a57e255b11mr805875ejc.254.1667837344039; Mon, 07 Nov 2022 08:09:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667837344; cv=none; d=google.com; s=arc-20160816; b=TB5vnC7TfFg7P+BeOhOPiFbNJVFxEZ/b2325Pfq5UmXct2Z4qSpVP3k+sLm2MwDesW JGFNsiprAFilvKwHMvn2NJmrra/wvyQVU7EbNJcaOASeUtWW8JNFXDe0niQGndDI+PPS g3/5P/oseF5C8bDi3QScQRBdvvfsVNwJheGNFi8K03+b7Kx++7F1dFlI6CEUWnXbEalC h15RKTX1R4UaVryHryEIxTxSYelyDCBVjjefKTjyoXiVP077RIppSz7fjyUCKemoRQ6h S7rJBO8bQXumyq2HTj/engy6BZYdbXVJsZaD3HV1wdcQ90Ga3NA+PwRUf3gC3/7i6Egv 2OGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=OccnILZwAZ1iW7ZSQATU7VS3BdSsH1TXTafd12dSgdI=; b=ajKT5Bi9rKcCNylZ5KqVLzfUZocOSUsDzQjh64pAri6eML+Er3grxMc+15k2YbBqR4 Qgpf0VhKKeQSei066NYNOnE5rNQHMQI9rZVDqf5BYFVf3iZpmWOPfnNBHrbfeQvtRGr7 sEWkgPBdfFjoIzlrfeYW63BbVxj1EX9AUxAlDr41/5MF/Y5hkIJaipUX8K2rIhucy8qj kqlCIG5NLzGodTllNEFu8MLqamq6YRREeI7usvPrN3WoVJXUsDxBl7CMiRxsWf8wWmWT 3EcLWX4c9WInxH79cu9+1EGZ6kK5mz/Cn+Rk92v/uxNmrw+DNXHBzzY119RaZMaQThCc azfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=B2Ep22Np; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hc31-20020a170907169f00b007316843d58bsi11557226ejc.925.2022.11.07.08.08.35; Mon, 07 Nov 2022 08:09:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=B2Ep22Np; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232181AbiKGQGO (ORCPT <rfc822;hjfbswb@gmail.com> + 99 others); Mon, 7 Nov 2022 11:06:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232804AbiKGQF2 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 7 Nov 2022 11:05:28 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 197E2209BA for <linux-kernel@vger.kernel.org>; Mon, 7 Nov 2022 08:05:17 -0800 (PST) Received: from notapiano.myfiosgateway.com (zone.collabora.co.uk [167.235.23.81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madras.collabora.co.uk (Postfix) with ESMTPSA id BE87566028B0; Mon, 7 Nov 2022 16:05:13 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1667837116; bh=bP8o3ce5ZgXYubneNGO6GUzIYsV6S7bzhWTdLtO4yUs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=B2Ep22NpGLHP5/VWW983UeeWT9Jv6oVhDPstT7b4AK3Ja3Jlj2EOCivxH/eXfWbsF g44fjgHkbLkZ+MtzgHP61Pnij2w68rASg2JsrADGE9Xa9FpnDx8u1s3HPEhCtBkI1N ue0bi2D6ACxLmroy5kFfawfTY0FP0cGg2g69KMctlJfemQWrUWo3kqMQoXxsnIr357 NemKv0btLzMj3qxlMCGZlSAOvDiCGxZh2ge03bUZ5D2v+F3MIn2fRLxNNkw4O4q0dB VECXJLkTMVB0iqi6GVbFSxNbZfD76HrppGwwXgY5wWoQcmLJc34DWu6EyE5hpr1x1p hMHW+a5dqIiBg== From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= <nfraprado@collabora.com> To: Mark Brown <broonie@kernel.org> Cc: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, kernel@collabora.com, =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= <nfraprado@collabora.com>, Jaroslav Kysela <perex@perex.cz>, Liam Girdwood <lgirdwood@gmail.com>, Matthias Brugger <matthias.bgg@gmail.com>, Takashi Iwai <tiwai@suse.com>, Trevor Wu <trevor.wu@mediatek.com>, Tzung-Bi Shih <tzungbi@kernel.org>, alsa-devel@alsa-project.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH 9/9] ASoC: mediatek: mt8195-mt6359: Register to module device table Date: Mon, 7 Nov 2022 11:04:37 -0500 Message-Id: <20221107160437.740353-10-nfraprado@collabora.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221107160437.740353-1-nfraprado@collabora.com> References: <20221107160437.740353-1-nfraprado@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748854210859889044?= X-GMAIL-MSGID: =?utf-8?q?1748854210859889044?= |
Series |
ASoC: mediatek: Register machine drivers to module device table
|
|
Commit Message
Nícolas F. R. A. Prado
Nov. 7, 2022, 4:04 p.m. UTC
Register the compatibles for this module on the module device table so
it can be automatically loaded when a matching device is found on the
system.
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
---
sound/soc/mediatek/mt8195/mt8195-mt6359.c | 1 +
1 file changed, 1 insertion(+)
Comments
Il 07/11/22 17:04, Nícolas F. R. A. Prado ha scritto: > Register the compatibles for this module on the module device table so > it can be automatically loaded when a matching device is found on the > system. > > Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
On Tue, Nov 8, 2022 at 4:43 PM AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> wrote: > > Il 07/11/22 17:04, Nícolas F. R. A. Prado ha scritto: > > Register the compatibles for this module on the module device table so > > it can be automatically loaded when a matching device is found on the > > system. > > > > Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com> > > Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Tested-by: Chen-Yu Tsai <wenst@chromium.org> The module was automatically loaded.
diff --git a/sound/soc/mediatek/mt8195/mt8195-mt6359.c b/sound/soc/mediatek/mt8195/mt8195-mt6359.c index 480ed3e08d5b..61be66f47723 100644 --- a/sound/soc/mediatek/mt8195/mt8195-mt6359.c +++ b/sound/soc/mediatek/mt8195/mt8195-mt6359.c @@ -1544,6 +1544,7 @@ static const struct of_device_id mt8195_mt6359_dt_match[] = { }, {}, }; +MODULE_DEVICE_TABLE(of, mt8195_mt6359_dt_match); static struct platform_driver mt8195_mt6359_driver = { .driver = {