From patchwork Fri Jun 16 11:55:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juerg Haefliger X-Patchwork-Id: 109083 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1290705vqr; Fri, 16 Jun 2023 05:07:05 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5/mhK24pAVBuGzZzS2RdVATncnCX14OtmcvhtMrfePMWPngAbRfUqU0NLypOPMumii54Hw X-Received: by 2002:a92:dc4d:0:b0:341:8f0f:83b4 with SMTP id x13-20020a92dc4d000000b003418f0f83b4mr2406387ilq.24.1686917224999; Fri, 16 Jun 2023 05:07:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686917224; cv=none; d=google.com; s=arc-20160816; b=NFiaij1f+LmKNytjBBMxbHhYqSwUq+yA2EMdErVV9MKtYO+OKFlYPK5Ru588q6E0Nr cIOLe0fokRULymOzMEoiCQyD52qCO/PiB4C7l/ohDu3o5LDT7c2mugSRB52V/1oOeRj3 WWn4KTE53OiNKavqFsXnKqAPDWc3DmNJFJGfGCps/nRvZXK74ZXKEI05LwrJFfOn2aih jtXfVsdwSqYyGnF+f0C6bF3pOt5KHLiAZ1YcOrF/7g3/teEnWSWsY8GoSGOCAZOHyFMW xNsQ+T+CQLIXJ+VNbz2rdw3OfdKPyVFNfvM5Lca8WjYBVNYbzkfwXbnNFquFwoTzejQO NiaA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=uEciiZDYLaCZOmEM1cxPY7+VzbXKRsNbeBnxrBRt1fI=; b=GoGV+Zl3P8+5YjqJ/lj9SnORAc1+jw+y1WwgRjby8cNLUud3viJve+b8pFdxLPobes cqDmmMi/W/e9/V7sSDEUlPYNuiFS0md1L9xiKZ/WJAuaSC6O6xNyIj52my8iYdkcXSxT hTb/XYJ7A2p43mexOjel3EeHUNkuIvLFgQeSbjXMXd9rE0mLn7PkOTey9yNn1IwngiIW Pf4gz2fcOmUBUxQ/y5U2WC6WgpUPp33a1GzHMQx6oYFOaVhevzfFdtoKohri4aLVbWmE 7eVF8D8/RIzwhmWpeUTA0v0i7RwW6f2s212JiP4dK8W/kDo0BF98UqkYCueESPRDszTe Bmag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=PhlPyt8S; 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=canonical.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b5-20020a63eb45000000b00543d32ee960si928038pgk.594.2023.06.16.05.06.52; Fri, 16 Jun 2023 05:07:04 -0700 (PDT) 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=@canonical.com header.s=20210705 header.b=PhlPyt8S; 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=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237737AbjFPL4D (ORCPT + 99 others); Fri, 16 Jun 2023 07:56:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344944AbjFPLzy (ORCPT ); Fri, 16 Jun 2023 07:55:54 -0400 Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31A1D2944 for ; Fri, 16 Jun 2023 04:55:54 -0700 (PDT) Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 0B93F3F0F8 for ; Fri, 16 Jun 2023 11:55:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1686916553; bh=uEciiZDYLaCZOmEM1cxPY7+VzbXKRsNbeBnxrBRt1fI=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=PhlPyt8SOCdVZ0ZK5YJBRo1zMJ+vSpqHhVyIAI2wbvm2tnkUVKlhUcJhk9qWMf5MD yYNLWSED4yKS5NI5iK8nd3nieoYtItBKXtHpQbYiWEkmnI4ALAX2f13NoDqK7OYan+ ZmqwnAO2dIPzGs9k1hpWtNgQZd5lq0ZW8+WDAO0cUrpwbKULUBeXsupRlBiLF2aIuQ D/n7xsNOA5NN9FyHfwZbnutpYfzGxBoopXn5uL/77QfR073fA8CQQxs0BVTG+xcyXy MX/5spq/eKjz5iiHpGpOBLuPqLL1KsZxPbN7KbkoqizJKiu8b27lBKlAbY/tTIKEro MUuRr4ivwC/yQ== Received: by mail-wr1-f72.google.com with SMTP id ffacd0b85a97d-30fbaeec4c1so253112f8f.0 for ; Fri, 16 Jun 2023 04:55:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686916552; x=1689508552; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=uEciiZDYLaCZOmEM1cxPY7+VzbXKRsNbeBnxrBRt1fI=; b=TZ/lyFdR0oXTO5MxZKTVdUCC4lkJUgkXJTdh5V0bqC+vjkOTv8qnG05N8asZd6J4cL +j84WxTg1D6+LrU9/O8IPHwyms8HCG+3EDUpNeeX6EtgcTJ6RLyVPzoeXnESlI79Myz8 cXuV0qG9wTwVdpc6WJFVTHnerTai22AjMDoiP927Imhj2+BEwDlog3X7/boabsE987Tj PeJYlj2DpM0mgbFidOwzfrg28MYbNklN3tJCE+cElwrx9jo08CDvn/tysGV6fBzXbGCs SiRPvdNC8oGEo6DTw+afLfuFfNlyk4h9m7YzrB7QBrsYZmh68Px2aY6rmSMR+4USZ2jX TMww== X-Gm-Message-State: AC+VfDw8DmGO5O4pviba1MNtzqveNqh9bdJS90Ed2Kq9ozuf6Rnqe2/k 7WJrD8mckMJEoTj4uR7NsYMw9E/6zTcEivPoCDSA8KRFsWJMK233EP/BhMsLN81oSFpbTIhVUNS XgZWAYnpElw/sVLxwmkdjRHSksTqe8Ogyywn4yrbr8w== X-Received: by 2002:a5d:5684:0:b0:311:1bd3:6c7b with SMTP id f4-20020a5d5684000000b003111bd36c7bmr1096687wrv.32.1686916552711; Fri, 16 Jun 2023 04:55:52 -0700 (PDT) X-Received: by 2002:a5d:5684:0:b0:311:1bd3:6c7b with SMTP id f4-20020a5d5684000000b003111bd36c7bmr1096676wrv.32.1686916552430; Fri, 16 Jun 2023 04:55:52 -0700 (PDT) Received: from localhost ([194.191.244.86]) by smtp.gmail.com with ESMTPSA id w15-20020a5d404f000000b0030fcf3d75c4sm9516016wrp.45.2023.06.16.04.55.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Jun 2023 04:55:51 -0700 (PDT) From: Juerg Haefliger To: oder_chiou@realtek.com, lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org Cc: linux-kernel@vger.kernel.org, Juerg Haefliger Subject: [PATCH] ASoC: rt5677: Add MODULE_FIRMWARE macro Date: Fri, 16 Jun 2023 13:55:49 +0200 Message-Id: <20230616115549.1011903-1-juerg.haefliger@canonical.com> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768860916324797418?= X-GMAIL-MSGID: =?utf-8?q?1768860916324797418?= The module loads firmware so add a MODULE_FIRMWARE macro to provide that information via modinfo. Signed-off-by: Juerg Haefliger --- sound/soc/codecs/rt5677.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/codecs/rt5677.c b/sound/soc/codecs/rt5677.c index 3bf019b3f700..c8fb98e3406f 100644 --- a/sound/soc/codecs/rt5677.c +++ b/sound/soc/codecs/rt5677.c @@ -5712,3 +5712,5 @@ module_i2c_driver(rt5677_i2c_driver); MODULE_DESCRIPTION("ASoC RT5677 driver"); MODULE_AUTHOR("Oder Chiou "); MODULE_LICENSE("GPL v2"); + +MODULE_FIRMWARE("rt5677_elf_vad");