From patchwork Thu Nov 2 12:46:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= X-Patchwork-Id: 740490 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9D6A7C4332F for ; Thu, 2 Nov 2023 12:49:08 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 8CFF4A4B; Thu, 2 Nov 2023 13:48:16 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 8CFF4A4B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1698929346; bh=pvx2Tsy/xYO/RWmsBHWxJQY1Zl9TLuaqfX0Rk0bqjOM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=vKFgn1ctGkuR5ELol4oHslQ+3vq/yayy+1kyC2qtkaQ8XAvdsSTK419g6JqcOLXsK IHL7+QVFSUm2+ZogsS939J7I0EguD+Bk4RMQsbhEKgIJIhw/8HZlpIUzveLs/fd7nV haXRQwSJwvuEKX/uJOIRccy1BxJqJKFS1Zm/Irjc= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 56CE9F8057C; Thu, 2 Nov 2023 13:47:24 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 3B13EF80578; Thu, 2 Nov 2023 13:47:24 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id BDF1DF8003C; Thu, 2 Nov 2023 13:47:16 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 66771F8003C for ; Thu, 2 Nov 2023 13:47:08 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 66771F8003C Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=iSYaZj+V DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698929230; x=1730465230; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=pvx2Tsy/xYO/RWmsBHWxJQY1Zl9TLuaqfX0Rk0bqjOM=; b=iSYaZj+VIGzIfzuWelglZLH7sPgfSJhKTYM2Ok97QzkeR+ddVlegDS6J Lh4A7f5qG8VykGMaxjZmEZsawKjEFin8DH3lFf4SaimZE0RypPpPwZKs2 BgfcuMm1v1fkJKvcGTU9cF7DRNpFZVkMhttfpq4aoRXv+1qe1/tVXljl/ Tz7JSx0U5KSK6WPbUkp/jEfuQsCz5mGhpWgoYE3ASx2F69SUWycyP+D95 Ws6rMFBhSEgUDtvKljV2CMFpFoV68MU2aXwKS9653iqxfHmKVQ3EjX++q gP4vOnKxBYD/zj6atGN8ugE8KZ0ZHT1WKk/oRFqcS5PxeU6kxXo8BMAWK Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10881"; a="7343473" X-IronPort-AV: E=Sophos;i="6.03,271,1694761200"; d="scan'208";a="7343473" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Nov 2023 05:47:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10881"; a="1008454725" X-IronPort-AV: E=Sophos;i="6.03,271,1694761200"; d="scan'208";a="1008454725" Received: from dev2 (HELO DEV2.igk.intel.com) ([10.237.148.94]) by fmsmga006.fm.intel.com with ESMTP; 02 Nov 2023 05:47:02 -0700 From: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= To: Mark Brown Cc: Cezary Rojewski , Takashi Iwai , Jaroslav Kysela , alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, Krzysztof Kozlowski , =?utf-8?q?Amadeusz_S=C5=82awi=C5=84s?= =?utf-8?q?ki?= Subject: [PATCH 01/17] ASoC: Intel: avs: da7219: Add proper id_table Date: Thu, 2 Nov 2023 13:46:56 +0100 Message-Id: <20231102124712.2549327-2-amadeuszx.slawinski@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231102124712.2549327-1-amadeuszx.slawinski@linux.intel.com> References: <20231102124712.2549327-1-amadeuszx.slawinski@linux.intel.com> MIME-Version: 1.0 Message-ID-Hash: TW5DIRTAWYF4G5R6ND5XKGMYWEMXZB26 X-Message-ID-Hash: TW5DIRTAWYF4G5R6ND5XKGMYWEMXZB26 X-MailFrom: amadeuszx.slawinski@linux.intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Add id_table and use it instead of alias to load module. Suggested-by: Krzysztof Kozlowski Reviewed-by: Cezary Rojewski Signed-off-by: Amadeusz Sławiński --- sound/soc/intel/avs/boards/da7219.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/sound/soc/intel/avs/boards/da7219.c b/sound/soc/intel/avs/boards/da7219.c index 6060894954df..c018f84fe025 100644 --- a/sound/soc/intel/avs/boards/da7219.c +++ b/sound/soc/intel/avs/boards/da7219.c @@ -277,16 +277,24 @@ static int avs_da7219_probe(struct platform_device *pdev) return devm_snd_soc_register_card(dev, card); } +static const struct platform_device_id avs_da7219_driver_ids[] = { + { + .name = "avs_da7219", + }, + {}, +}; +MODULE_DEVICE_TABLE(platform, avs_da7219_driver_ids); + static struct platform_driver avs_da7219_driver = { .probe = avs_da7219_probe, .driver = { .name = "avs_da7219", .pm = &snd_soc_pm_ops, }, + .id_table = avs_da7219_driver_ids, }; module_platform_driver(avs_da7219_driver); MODULE_AUTHOR("Cezary Rojewski "); MODULE_LICENSE("GPL"); -MODULE_ALIAS("platform:avs_da7219"); From patchwork Thu Nov 2 12:46:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= X-Patchwork-Id: 740488 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DD9B8C4167D for ; Thu, 2 Nov 2023 12:50:04 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 644D7E0D; Thu, 2 Nov 2023 13:49:12 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 644D7E0D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1698929402; bh=CIymP4g4pLFXIZ5O3229NLCZFEilr9Tc3XyWgkrTnhA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=g5bEPf5rEoDnhaaZjnsSaP/EdC0BmjWaIb/WQQlS2zGE6BzrUGgKI29y9YisfF6L5 l+QGPeW8yQTjbzvd36xfzVUHz+533Qb9ZalkKhlfp6wtIhPPLgxYmm3yxYVs+5IGAs QGp3lCSypc1cQGx/aPZ1KNfT9q9Urx6Xw3FKgHbI= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 5B070F80580; Thu, 2 Nov 2023 13:47:31 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id B03F4F805AA; Thu, 2 Nov 2023 13:47:29 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 29F34F80537; Thu, 2 Nov 2023 13:47:19 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id B0D7EF80290 for ; Thu, 2 Nov 2023 13:47:09 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz B0D7EF80290 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=gcmemGYA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698929231; x=1730465231; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=CIymP4g4pLFXIZ5O3229NLCZFEilr9Tc3XyWgkrTnhA=; b=gcmemGYAKgb8bZulAaNPkaHiYKveFoUtJ979TUv5qEcunVSV5/AW8rvC 30WCXgchRAQzmR9Bkmi6APROB6Z+pm2d3ZpOteSp17T478t6buXJToA3f p865AEuKb8KpBnW6KwdReYn9PV9J7KcYeunyRQJ1KEVAu4CoTwghCACZP JmxAWva3fKSYDswxCAX70Bj49x62GXJ8btUwP+8pXxFKsYXCPQQlMwxYB vJLTSrBznVKpyNwJeTpa920oCazqc8U9he1f2lU+UuSRizJGv5P0lQ/ck 1b23sDs2MF9yUScz9yDLR6qkvFizEB5NotV8g7wGv6AnlzVwf1UjWU5NU g==; X-IronPort-AV: E=McAfee;i="6600,9927,10881"; a="7343479" X-IronPort-AV: E=Sophos;i="6.03,271,1694761200"; d="scan'208";a="7343479" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Nov 2023 05:47:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10881"; a="1008454728" X-IronPort-AV: E=Sophos;i="6.03,271,1694761200"; d="scan'208";a="1008454728" Received: from dev2 (HELO DEV2.igk.intel.com) ([10.237.148.94]) by fmsmga006.fm.intel.com with ESMTP; 02 Nov 2023 05:47:04 -0700 From: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= To: Mark Brown Cc: Cezary Rojewski , Takashi Iwai , Jaroslav Kysela , alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, Krzysztof Kozlowski , =?utf-8?q?Amadeusz_S=C5=82awi=C5=84s?= =?utf-8?q?ki?= Subject: [PATCH 02/17] ASoC: Intel: avs: dmic: Add proper id_table Date: Thu, 2 Nov 2023 13:46:57 +0100 Message-Id: <20231102124712.2549327-3-amadeuszx.slawinski@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231102124712.2549327-1-amadeuszx.slawinski@linux.intel.com> References: <20231102124712.2549327-1-amadeuszx.slawinski@linux.intel.com> MIME-Version: 1.0 Message-ID-Hash: L7WDWNZ57M6JNBIKEQCRAV6NCZV7UHX2 X-Message-ID-Hash: L7WDWNZ57M6JNBIKEQCRAV6NCZV7UHX2 X-MailFrom: amadeuszx.slawinski@linux.intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Add id_table and use it instead of alias to load module. Suggested-by: Krzysztof Kozlowski Reviewed-by: Cezary Rojewski Signed-off-by: Amadeusz Sławiński --- sound/soc/intel/avs/boards/dmic.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/sound/soc/intel/avs/boards/dmic.c b/sound/soc/intel/avs/boards/dmic.c index c270646faf86..ba2bc7f689eb 100644 --- a/sound/soc/intel/avs/boards/dmic.c +++ b/sound/soc/intel/avs/boards/dmic.c @@ -77,15 +77,23 @@ static int avs_dmic_probe(struct platform_device *pdev) return devm_snd_soc_register_card(dev, card); } +static const struct platform_device_id avs_dmic_driver_ids[] = { + { + .name = "avs_dmic", + }, + {}, +}; +MODULE_DEVICE_TABLE(platform, avs_dmic_driver_ids); + static struct platform_driver avs_dmic_driver = { .probe = avs_dmic_probe, .driver = { .name = "avs_dmic", .pm = &snd_soc_pm_ops, }, + .id_table = avs_dmic_driver_ids, }; module_platform_driver(avs_dmic_driver); MODULE_LICENSE("GPL"); -MODULE_ALIAS("platform:avs_dmic"); From patchwork Thu Nov 2 12:46:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= X-Patchwork-Id: 741096 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id ABC84C4332F for ; Thu, 2 Nov 2023 12:49:21 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 7CB75741; Thu, 2 Nov 2023 13:48:29 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 7CB75741 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1698929359; bh=SmW1+mxdDXdxsDvM6/CrA9dDmVY6nBagCWTEsBBjzoI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=m9GuKSAjPSNCxqA/38AwAMoWdPu/inTuwFNbOqfGCS6Q6KqoSL38bt4VEm1BcQT2K aymYgit2gy0jMY2zpcoK6JHd0XIaugPwP4g+aR09Um2naP6t6P/yIKVeuwgObzbb5Z F4mfWYFHUMeu+5h94QXZ31aUQPPv12I+TJ2ypvd8= Received: by alsa1.perex.cz (Postfix, from userid 50401) id A2609F80579; Thu, 2 Nov 2023 13:47:26 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 70927F80580; Thu, 2 Nov 2023 13:47:25 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 79E91F80558; Thu, 2 Nov 2023 13:47:17 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 63EFCF80494 for ; Thu, 2 Nov 2023 13:47:10 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 63EFCF80494 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=cikBBO+h DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698929232; x=1730465232; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=SmW1+mxdDXdxsDvM6/CrA9dDmVY6nBagCWTEsBBjzoI=; b=cikBBO+hlNiN2lHRjom34mVqmDu89g5lkl2PKQNiw9wObzI/eWGMpk5f EL8xFdXQKO9943fm4XGsvaaa0GdhbdRx0ANmPUpoGbSm8FY4YqFSDiY1q Vo+f6To2OUuicbnhNRPWkQu5cj48Wu97+kNRcg+gzz1o4DeYk7gioV5fb lovXZsjRYP/IDlqLpESqozVyU5uGpH2GrD2rHPLkPi2zmvjuw8lfwclz+ qYG4Y7YBB+4Mr1Y7n1ZqFTQ1nCvbYDqrM+W0u6HNSrhQGtvQMMq6QzyQI ixT3mmI/VCLSGz9TvSAL4iUMO7L4DAc5PyzO93+0kkC0h93aDdTqRNs6U A==; X-IronPort-AV: E=McAfee;i="6600,9927,10881"; a="7343484" X-IronPort-AV: E=Sophos;i="6.03,271,1694761200"; d="scan'208";a="7343484" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Nov 2023 05:47:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10881"; a="1008454734" X-IronPort-AV: E=Sophos;i="6.03,271,1694761200"; d="scan'208";a="1008454734" Received: from dev2 (HELO DEV2.igk.intel.com) ([10.237.148.94]) by fmsmga006.fm.intel.com with ESMTP; 02 Nov 2023 05:47:07 -0700 From: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= To: Mark Brown Cc: Cezary Rojewski , Takashi Iwai , Jaroslav Kysela , alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, Krzysztof Kozlowski , =?utf-8?q?Amadeusz_S=C5=82awi=C5=84s?= =?utf-8?q?ki?= Subject: [PATCH 03/17] ASoC: Intel: avs: es8336: Add proper id_table Date: Thu, 2 Nov 2023 13:46:58 +0100 Message-Id: <20231102124712.2549327-4-amadeuszx.slawinski@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231102124712.2549327-1-amadeuszx.slawinski@linux.intel.com> References: <20231102124712.2549327-1-amadeuszx.slawinski@linux.intel.com> MIME-Version: 1.0 Message-ID-Hash: HVNCAUDFBRSJVZ2IOAFDSTTOH37MGVA2 X-Message-ID-Hash: HVNCAUDFBRSJVZ2IOAFDSTTOH37MGVA2 X-MailFrom: amadeuszx.slawinski@linux.intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Add id_table and use it instead of alias to load module. Suggested-by: Krzysztof Kozlowski Reviewed-by: Cezary Rojewski Signed-off-by: Amadeusz Sławiński --- sound/soc/intel/avs/boards/es8336.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/sound/soc/intel/avs/boards/es8336.c b/sound/soc/intel/avs/boards/es8336.c index f972ef64d284..1090082e7d5b 100644 --- a/sound/soc/intel/avs/boards/es8336.c +++ b/sound/soc/intel/avs/boards/es8336.c @@ -307,15 +307,23 @@ static int avs_es8336_probe(struct platform_device *pdev) return devm_snd_soc_register_card(dev, card); } +static const struct platform_device_id avs_es8336_driver_ids[] = { + { + .name = "avs_es8336", + }, + {}, +}; +MODULE_DEVICE_TABLE(platform, avs_es8336_driver_ids); + static struct platform_driver avs_es8336_driver = { .probe = avs_es8336_probe, .driver = { .name = "avs_es8336", .pm = &snd_soc_pm_ops, }, + .id_table = avs_es8336_driver_ids, }; module_platform_driver(avs_es8336_driver); MODULE_LICENSE("GPL"); -MODULE_ALIAS("platform:avs_es8336"); From patchwork Thu Nov 2 12:46:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= X-Patchwork-Id: 740489 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2E504C4332F for ; Thu, 2 Nov 2023 12:49:36 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 944CA9F6; Thu, 2 Nov 2023 13:48:43 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 944CA9F6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1698929373; bh=4nPZ7xDUIWcmdOQqijIDcTxtbV4o1xLQJCT4uCpz+Nw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=E3cmgNBaO4VOnuZpIOuMv/R978BtpN6RSSa04ZoXLTZJONF/gleRUcFLk+Dow34BS tmlEFtSFlAmmvFVhC29+5+qziWmuX3ddKvOf8wgrVvxCZm70Zuya3WaNv2sck4Ia4v sBBYyKu3uMfBM3WzAgARvM+DJyJz7XuEkSTSvJpE= Received: by alsa1.perex.cz (Postfix, from userid 50401) id D80CFF8059F; Thu, 2 Nov 2023 13:47:29 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id E7E03F80563; Thu, 2 Nov 2023 13:47:28 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 4D9CFF80558; Thu, 2 Nov 2023 13:47:18 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id D523AF80537 for ; Thu, 2 Nov 2023 13:47:11 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz D523AF80537 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=LTIUJ05n DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698929233; x=1730465233; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=4nPZ7xDUIWcmdOQqijIDcTxtbV4o1xLQJCT4uCpz+Nw=; b=LTIUJ05njhYGmX29fFZR9C8G9oAx/2GEaS32gUHWqZbyhEqyz2QfqyOi dgQXZPy0wIlrx0yIA1ww+AfjT/4AjqY1WB/uatonAuewUxg/uI1te4jCY /NQne1vBa0l+3fFQWdDFICVJl9/a24gjG8M9szswi71zGy7PxzaFxPPaA mqvOrqfwyJNZWREhajnRVIdMvi2AVJWVUOgjyNvEftuv6ciJbfuMwZUZx YWqkYF9reGRMs27M8mehnneLD/dTdKzHYsBQJfxGGPWgdztr0Gl/k59/C F7d1LdIBLQWTnVozZEap4omYTVvifFIcmoCP0DTDkHK+ofgzF7H3/Rt+4 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10881"; a="7343489" X-IronPort-AV: E=Sophos;i="6.03,271,1694761200"; d="scan'208";a="7343489" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Nov 2023 05:47:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10881"; a="1008454739" X-IronPort-AV: E=Sophos;i="6.03,271,1694761200"; d="scan'208";a="1008454739" Received: from dev2 (HELO DEV2.igk.intel.com) ([10.237.148.94]) by fmsmga006.fm.intel.com with ESMTP; 02 Nov 2023 05:47:09 -0700 From: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= To: Mark Brown Cc: Cezary Rojewski , Takashi Iwai , Jaroslav Kysela , alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, Krzysztof Kozlowski , =?utf-8?q?Amadeusz_S=C5=82awi=C5=84s?= =?utf-8?q?ki?= Subject: [PATCH 04/17] ASoC: Intel: avs: hdaudio: Add proper id_table Date: Thu, 2 Nov 2023 13:46:59 +0100 Message-Id: <20231102124712.2549327-5-amadeuszx.slawinski@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231102124712.2549327-1-amadeuszx.slawinski@linux.intel.com> References: <20231102124712.2549327-1-amadeuszx.slawinski@linux.intel.com> MIME-Version: 1.0 Message-ID-Hash: HLTPW52CC2Y4W2PZOZDC5XMIGE5MXO75 X-Message-ID-Hash: HLTPW52CC2Y4W2PZOZDC5XMIGE5MXO75 X-MailFrom: amadeuszx.slawinski@linux.intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Add id_table and use it instead of alias to load module. Suggested-by: Krzysztof Kozlowski Reviewed-by: Cezary Rojewski Signed-off-by: Amadeusz Sławiński --- sound/soc/intel/avs/boards/hdaudio.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/sound/soc/intel/avs/boards/hdaudio.c b/sound/soc/intel/avs/boards/hdaudio.c index 8876558f19a1..844a918f9a81 100644 --- a/sound/soc/intel/avs/boards/hdaudio.c +++ b/sound/soc/intel/avs/boards/hdaudio.c @@ -218,12 +218,21 @@ static int avs_hdaudio_probe(struct platform_device *pdev) return devm_snd_soc_register_card(dev, card); } +static const struct platform_device_id avs_hdaudio_driver_ids[] = { + { + .name = "avs_hdaudio", + }, + {}, +}; +MODULE_DEVICE_TABLE(platform, avs_hdaudio_driver_ids); + static struct platform_driver avs_hdaudio_driver = { .probe = avs_hdaudio_probe, .driver = { .name = "avs_hdaudio", .pm = &snd_soc_pm_ops, }, + .id_table = avs_hdaudio_driver_ids, }; module_platform_driver(avs_hdaudio_driver) @@ -231,4 +240,3 @@ module_platform_driver(avs_hdaudio_driver) MODULE_DESCRIPTION("Intel HD-Audio machine driver"); MODULE_AUTHOR("Cezary Rojewski "); MODULE_LICENSE("GPL"); -MODULE_ALIAS("platform:avs_hdaudio"); From patchwork Thu Nov 2 12:47:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= X-Patchwork-Id: 741089 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A43DDC4332F for ; Thu, 2 Nov 2023 12:53:05 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 4C1F8E7A; Thu, 2 Nov 2023 13:52:13 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 4C1F8E7A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1698929583; bh=2Jk5sSELW2UtGc8oy2c3BEUMoFErB30cR8Wv/CjzPcE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=XUm9OXL77kNKnvzOU/Nq3ULdDhC+UsE7d5a025COj0/gdEbSvuExAZd1dzvDAE7lZ IlbAjkaXLz+gjV4vAcpexQXguqKnCCsTJF9EX79ADLgYr5wilto90bRbDeUJheHHQx gISZZpvGpuHhHOnbLSCAsQNynEM5o1bAuLYzl8hg= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 985A9F80634; Thu, 2 Nov 2023 13:47:57 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id CD6ABF8062E; Thu, 2 Nov 2023 13:47:56 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 76945F805FB; Thu, 2 Nov 2023 13:47:44 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id EEFABF8020D for ; Thu, 2 Nov 2023 13:47:13 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz EEFABF8020D Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=LBtpJd30 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698929235; x=1730465235; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=2Jk5sSELW2UtGc8oy2c3BEUMoFErB30cR8Wv/CjzPcE=; b=LBtpJd30j7mwm2YKBAmg9hCRuz/5qPD3zu3n9n7vaBiIBSboiCVk8rGk yWEA/rjkNWOF6yJ/2MX/MptvxwAJG5Ko3pHU3KnyDUBTENCNoxL1S+AGe gufyajTv6H1zK92qdE3oUeG/VDr0WGmUDvjJ1rUYDWRaMpiaSybazO3KM WlEo3vpiNh0OLS5Oevf4f/zmiW0spUM5/pRrDRS3oXB2O5Qw/8Kr4kyxv O7w/l4BqvKFCdGERl5sx5FtBlvfcO/0WN/ChKmukDN6dArVIJUrkDX+Xp qqbdOgCmpCd7JcTmJVlfxkGl7GCeKrYvbCdUB+nq3yuLWXsNqk0BQCZyO A==; X-IronPort-AV: E=McAfee;i="6600,9927,10881"; a="7343494" X-IronPort-AV: E=Sophos;i="6.03,271,1694761200"; d="scan'208";a="7343494" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Nov 2023 05:47:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10881"; a="1008454744" X-IronPort-AV: E=Sophos;i="6.03,271,1694761200"; d="scan'208";a="1008454744" Received: from dev2 (HELO DEV2.igk.intel.com) ([10.237.148.94]) by fmsmga006.fm.intel.com with ESMTP; 02 Nov 2023 05:47:10 -0700 From: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= To: Mark Brown Cc: Cezary Rojewski , Takashi Iwai , Jaroslav Kysela , alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, Krzysztof Kozlowski , =?utf-8?q?Amadeusz_S=C5=82awi=C5=84s?= =?utf-8?q?ki?= Subject: [PATCH 05/17] ASoC: Intel: avs: i2s_test: Add proper id_table Date: Thu, 2 Nov 2023 13:47:00 +0100 Message-Id: <20231102124712.2549327-6-amadeuszx.slawinski@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231102124712.2549327-1-amadeuszx.slawinski@linux.intel.com> References: <20231102124712.2549327-1-amadeuszx.slawinski@linux.intel.com> MIME-Version: 1.0 Message-ID-Hash: DXBHUDICV376GEZDFNW53S2MYADJCF37 X-Message-ID-Hash: DXBHUDICV376GEZDFNW53S2MYADJCF37 X-MailFrom: amadeuszx.slawinski@linux.intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Add id_table and use it instead of alias to load module. Suggested-by: Krzysztof Kozlowski Reviewed-by: Cezary Rojewski Signed-off-by: Amadeusz Sławiński --- sound/soc/intel/avs/boards/i2s_test.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/sound/soc/intel/avs/boards/i2s_test.c b/sound/soc/intel/avs/boards/i2s_test.c index 3d03e1eed3a9..28f254eb0d03 100644 --- a/sound/soc/intel/avs/boards/i2s_test.c +++ b/sound/soc/intel/avs/boards/i2s_test.c @@ -185,15 +185,23 @@ static int avs_i2s_test_probe(struct platform_device *pdev) return devm_snd_soc_register_card(dev, card); } +static const struct platform_device_id avs_i2s_test_driver_ids[] = { + { + .name = "avs_i2s_test", + }, + {}, +}; +MODULE_DEVICE_TABLE(platform, avs_i2s_test_driver_ids); + static struct platform_driver avs_i2s_test_driver = { .probe = avs_i2s_test_probe, .driver = { .name = "avs_i2s_test", .pm = &snd_soc_pm_ops, }, + .id_table = avs_i2s_test_driver_ids, }; module_platform_driver(avs_i2s_test_driver); MODULE_LICENSE("GPL"); -MODULE_ALIAS("platform:avs_i2s_test"); From patchwork Thu Nov 2 12:47:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= X-Patchwork-Id: 740482 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2E14DC4167B for ; Thu, 2 Nov 2023 12:53:08 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 103E3E89; Thu, 2 Nov 2023 13:52:16 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 103E3E89 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1698929586; bh=b7iHa1bmVaiw7GzrdFVs42siWNCSN15AK35gzh5sxf4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=aYw5mX4NgPOJGDpkeDGgQTLrnVy04rsRYVvbdow4hQAbHEc/y2GqrJw3/P6At6hIz jBlvalJ/NQgtNovdQ9MQsj1MZxNvRG5YXd5bklW5LDxyTRoBvxerksZsdMOeK64xDb CSOlhxGjuL2oC694a2iWHtNjN/7VffCuO38Mgno0= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 1EC72F80635; Thu, 2 Nov 2023 13:47:59 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 8CCBBF80637; Thu, 2 Nov 2023 13:47:59 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 73BADF805FD; Thu, 2 Nov 2023 13:47:45 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 43A96F80557 for ; Thu, 2 Nov 2023 13:47:15 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 43A96F80557 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=FFswHnbi DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698929237; x=1730465237; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=b7iHa1bmVaiw7GzrdFVs42siWNCSN15AK35gzh5sxf4=; b=FFswHnbigNeaoXCnPfAfZUHlvoFf6M9ZIMRmZr/6QMqp5ZYBMktXPFUg rCrutea46V1d6YBy9cru/PiPn3SU0i23wavw/zCJ1OHqgFAO9DP2xvC81 cflWzisULDQsULts9sD24pFSJKakZjVUIJaLsOblesvYMt0Wqce+Lf6dU CldK8faJGA8suD0lZUSxb7HV6WaKi3c7FdJanicv5/fjb44rU1Zz4auU3 bYAY9H+z3ZWGz7WfxuLohH2tNupIxjfLtDiqKv7/ckyOGO/FtHX5aykn2 eETxrcChzRD6M6sgcPRF/ozh0GZiNTslAZQo1dt99QXzSsjx4GEBCdIiF Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10881"; a="7343501" X-IronPort-AV: E=Sophos;i="6.03,271,1694761200"; d="scan'208";a="7343501" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Nov 2023 05:47:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10881"; a="1008454750" X-IronPort-AV: E=Sophos;i="6.03,271,1694761200"; d="scan'208";a="1008454750" Received: from dev2 (HELO DEV2.igk.intel.com) ([10.237.148.94]) by fmsmga006.fm.intel.com with ESMTP; 02 Nov 2023 05:47:12 -0700 From: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= To: Mark Brown Cc: Cezary Rojewski , Takashi Iwai , Jaroslav Kysela , alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, Krzysztof Kozlowski , =?utf-8?q?Amadeusz_S=C5=82awi=C5=84s?= =?utf-8?q?ki?= Subject: [PATCH 06/17] ASoC: Intel: avs: max98357a: Add proper id_table Date: Thu, 2 Nov 2023 13:47:01 +0100 Message-Id: <20231102124712.2549327-7-amadeuszx.slawinski@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231102124712.2549327-1-amadeuszx.slawinski@linux.intel.com> References: <20231102124712.2549327-1-amadeuszx.slawinski@linux.intel.com> MIME-Version: 1.0 Message-ID-Hash: 3RAOS6YFL4YTJA2L6LUOSBRBGQOQOHL6 X-Message-ID-Hash: 3RAOS6YFL4YTJA2L6LUOSBRBGQOQOHL6 X-MailFrom: amadeuszx.slawinski@linux.intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Add id_table and use it instead of alias to load module. Suggested-by: Krzysztof Kozlowski Reviewed-by: Cezary Rojewski Signed-off-by: Amadeusz Sławiński --- sound/soc/intel/avs/boards/max98357a.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/sound/soc/intel/avs/boards/max98357a.c b/sound/soc/intel/avs/boards/max98357a.c index 6ba7b6564279..a83b95f25129 100644 --- a/sound/soc/intel/avs/boards/max98357a.c +++ b/sound/soc/intel/avs/boards/max98357a.c @@ -135,15 +135,23 @@ static int avs_max98357a_probe(struct platform_device *pdev) return devm_snd_soc_register_card(dev, card); } +static const struct platform_device_id avs_max98357a_driver_ids[] = { + { + .name = "avs_max98357a", + }, + {}, +}; +MODULE_DEVICE_TABLE(platform, avs_max98357a_driver_ids); + static struct platform_driver avs_max98357a_driver = { .probe = avs_max98357a_probe, .driver = { .name = "avs_max98357a", .pm = &snd_soc_pm_ops, }, + .id_table = avs_max98357a_driver_ids, }; module_platform_driver(avs_max98357a_driver) MODULE_LICENSE("GPL"); -MODULE_ALIAS("platform:avs_max98357a"); From patchwork Thu Nov 2 12:47:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= X-Patchwork-Id: 741095 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3A381C4332F for ; Thu, 2 Nov 2023 12:50:01 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 18BFADEC; Thu, 2 Nov 2023 13:49:09 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 18BFADEC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1698929399; bh=alXNqUY733E20ZP/HwFP93NSgXNWuW+Qa0v32WiZU2Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=rhcIjvi1150VynbX9s+jhZMVuwposg5pcQHj6kQ5YMQ1j70jUwVNvX//43U2CmUSR FfSUXwWhebjrm1CjWQPqCh2EGCVZewKFJ0TMhKTuhgBQFgQnFjJI7Cr39aOPK/Hb2r YHRHJQe8l+f8UL4NKIxN7KCp79vvLeusto/I645s= Received: by alsa1.perex.cz (Postfix, from userid 50401) id D764EF805BD; Thu, 2 Nov 2023 13:47:32 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 85FBBF805BB; Thu, 2 Nov 2023 13:47:30 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id C909FF80425; Thu, 2 Nov 2023 13:47:19 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 4B787F80494 for ; Thu, 2 Nov 2023 13:47:17 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 4B787F80494 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=NDTbtXI4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698929239; x=1730465239; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=alXNqUY733E20ZP/HwFP93NSgXNWuW+Qa0v32WiZU2Q=; b=NDTbtXI4zGX1AZ8xZhK4xEIaXr2Mn/TzWR43JkX8IrhSmfmiJesXNlAd UwhseNWQ1O0WeYdycBy6YdgihqQXtO0gdz8P+LZTapheF2expLEI9utIY fpNboV8j+qHi+vKdb4sYT90CMqMljU+zESBj3URJo9UWpYcNvIcOM2+bT /eVnEa8Rj+XKelMbsl6hatmDLVWqlHKn+ZIyh+HfZKK1BZ1doVNYk6Kb/ afU5IsC3zFSEAW4UDMyBqDPPUWb3eSs7YdjTWfEeNCAQAicDcwSCSDizW 2rcnZem0x8dY2zZuCdAMAYXfKt9Pd/dTd1l1aoRGCvFJwGXg/vAjOTmRj w==; X-IronPort-AV: E=McAfee;i="6600,9927,10881"; a="7343510" X-IronPort-AV: E=Sophos;i="6.03,271,1694761200"; d="scan'208";a="7343510" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Nov 2023 05:47:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10881"; a="1008454757" X-IronPort-AV: E=Sophos;i="6.03,271,1694761200"; d="scan'208";a="1008454757" Received: from dev2 (HELO DEV2.igk.intel.com) ([10.237.148.94]) by fmsmga006.fm.intel.com with ESMTP; 02 Nov 2023 05:47:14 -0700 From: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= To: Mark Brown Cc: Cezary Rojewski , Takashi Iwai , Jaroslav Kysela , alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, Krzysztof Kozlowski , =?utf-8?q?Amadeusz_S=C5=82awi=C5=84s?= =?utf-8?q?ki?= Subject: [PATCH 07/17] ASoC: Intel: avs: max98373: Add proper id_table Date: Thu, 2 Nov 2023 13:47:02 +0100 Message-Id: <20231102124712.2549327-8-amadeuszx.slawinski@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231102124712.2549327-1-amadeuszx.slawinski@linux.intel.com> References: <20231102124712.2549327-1-amadeuszx.slawinski@linux.intel.com> MIME-Version: 1.0 Message-ID-Hash: 52KFDBSOILR4HZQU6CAWPX5PVPKVNZXG X-Message-ID-Hash: 52KFDBSOILR4HZQU6CAWPX5PVPKVNZXG X-MailFrom: amadeuszx.slawinski@linux.intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Add id_table and use it instead of alias to load module. Suggested-by: Krzysztof Kozlowski Reviewed-by: Cezary Rojewski Signed-off-by: Amadeusz Sławiński --- sound/soc/intel/avs/boards/max98373.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/sound/soc/intel/avs/boards/max98373.c b/sound/soc/intel/avs/boards/max98373.c index cc7dfdf72083..3b980a025e6f 100644 --- a/sound/soc/intel/avs/boards/max98373.c +++ b/sound/soc/intel/avs/boards/max98373.c @@ -192,15 +192,23 @@ static int avs_max98373_probe(struct platform_device *pdev) return devm_snd_soc_register_card(dev, card); } +static const struct platform_device_id avs_max98373_driver_ids[] = { + { + .name = "avs_max98373", + }, + {}, +}; +MODULE_DEVICE_TABLE(platform, avs_max98373_driver_ids); + static struct platform_driver avs_max98373_driver = { .probe = avs_max98373_probe, .driver = { .name = "avs_max98373", .pm = &snd_soc_pm_ops, }, + .id_table = avs_max98373_driver_ids, }; module_platform_driver(avs_max98373_driver) MODULE_LICENSE("GPL"); -MODULE_ALIAS("platform:avs_max98373"); From patchwork Thu Nov 2 12:47:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= X-Patchwork-Id: 741094 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C3CCFC4332F for ; Thu, 2 Nov 2023 12:50:26 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id A167AE0E; Thu, 2 Nov 2023 13:49:34 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz A167AE0E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1698929424; bh=s5Tgqm5Ke6cfCMbynqvLX7TRjId+ANbr1kFf4zGCERA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=N6QXsIFKC/0d0xxxXvxBQ3c6VrLxHkq1+RZ63AiSuLY76oTNP8BXV119bd35a5ynP Chchv2wnip/CPIDuTKuKgkdyPXZLyVVr27UvR2AMmMteYOmgFMWEMLId/LxBgftuxd Osixf21P/RZ8qW4oFyOs31+3lzafJoO343KUPmYQ= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 7F951F805C5; Thu, 2 Nov 2023 13:47:34 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id CFDC8F805C5; Thu, 2 Nov 2023 13:47:33 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 857B6F80494; Thu, 2 Nov 2023 13:47:21 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 34C26F80290 for ; Thu, 2 Nov 2023 13:47:19 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 34C26F80290 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=Sq+q0HN3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698929241; x=1730465241; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=s5Tgqm5Ke6cfCMbynqvLX7TRjId+ANbr1kFf4zGCERA=; b=Sq+q0HN3GyjSAgZxdLh9AmfrFDtPuZU7EJ/ELBAx68UBw04z2wibkjd0 waHXkqexuRpWHMMd2XSE7o5najo2//MY0MSzShx6xpi/5zauAl37XCmqr A/CZJFJRR3jprUnNoRkEVMQPz4ZukSb9i7TJNSrhdrW0oGv9sPv0qqaw/ YA6y3VthOPd2RcUSzdwUFD4aVvVEjyZ14vMRaPkqvtlBVVJhKKtQBx3ob kFw/+ZzWKc7XDRj33p38RoGgsvaxslb+sJccLYCX7LmHbXs0Y5ZwgQ5lZ f+nF0n2LJ2T4SibmEitMmNhoD4eddFVMJxF3L5C5jolFPCN/CnRhmL3CD w==; X-IronPort-AV: E=McAfee;i="6600,9927,10881"; a="7343515" X-IronPort-AV: E=Sophos;i="6.03,271,1694761200"; d="scan'208";a="7343515" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Nov 2023 05:47:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10881"; a="1008454762" X-IronPort-AV: E=Sophos;i="6.03,271,1694761200"; d="scan'208";a="1008454762" Received: from dev2 (HELO DEV2.igk.intel.com) ([10.237.148.94]) by fmsmga006.fm.intel.com with ESMTP; 02 Nov 2023 05:47:16 -0700 From: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= To: Mark Brown Cc: Cezary Rojewski , Takashi Iwai , Jaroslav Kysela , alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, Krzysztof Kozlowski , =?utf-8?q?Amadeusz_S=C5=82awi=C5=84s?= =?utf-8?q?ki?= Subject: [PATCH 08/17] ASoC: Intel: avs: max98927: Add proper id_table Date: Thu, 2 Nov 2023 13:47:03 +0100 Message-Id: <20231102124712.2549327-9-amadeuszx.slawinski@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231102124712.2549327-1-amadeuszx.slawinski@linux.intel.com> References: <20231102124712.2549327-1-amadeuszx.slawinski@linux.intel.com> MIME-Version: 1.0 Message-ID-Hash: PIL3DKZWTPRQJAYLVJKMUPWXMZZ6T6EE X-Message-ID-Hash: PIL3DKZWTPRQJAYLVJKMUPWXMZZ6T6EE X-MailFrom: amadeuszx.slawinski@linux.intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Add id_table and use it instead of alias to load module. Suggested-by: Krzysztof Kozlowski Reviewed-by: Cezary Rojewski Signed-off-by: Amadeusz Sławiński --- sound/soc/intel/avs/boards/max98927.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/sound/soc/intel/avs/boards/max98927.c b/sound/soc/intel/avs/boards/max98927.c index fb0175f37d61..86dd2b228df3 100644 --- a/sound/soc/intel/avs/boards/max98927.c +++ b/sound/soc/intel/avs/boards/max98927.c @@ -189,15 +189,23 @@ static int avs_max98927_probe(struct platform_device *pdev) return devm_snd_soc_register_card(dev, card); } +static const struct platform_device_id avs_max98927_driver_ids[] = { + { + .name = "avs_max98927", + }, + {}, +}; +MODULE_DEVICE_TABLE(platform, avs_max98927_driver_ids); + static struct platform_driver avs_max98927_driver = { .probe = avs_max98927_probe, .driver = { .name = "avs_max98927", .pm = &snd_soc_pm_ops, }, + .id_table = avs_max98927_driver_ids, }; module_platform_driver(avs_max98927_driver) MODULE_LICENSE("GPL"); -MODULE_ALIAS("platform:avs_max98927"); From patchwork Thu Nov 2 12:47:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= X-Patchwork-Id: 740487 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D492CC4332F for ; Thu, 2 Nov 2023 12:50:34 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id BEECF886; Thu, 2 Nov 2023 13:49:42 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz BEECF886 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1698929432; bh=BpskdRIfZAyoaRETyi8iXG/6H9nRkJDV0ZkxDn3UXq4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=lizwAM8DONH8HHmmYa9JwjL8RzNmus5FxzPUKVj6YQirtVYv2wF1d2ZNYnA5NJxlI DuzreXAVq44Zj1XEFvS4tOw/UUHAahAAXRYm/1joSEi4rV/q5gO7UPBpjAVb2v3Hzx LSEC0mXKvNCzxCOlTC3kKzU1sIkq5CdP4ziRsnsc= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 52724F805DF; Thu, 2 Nov 2023 13:47:36 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 9ED4EF805D5; Thu, 2 Nov 2023 13:47:35 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id A6878F80588; Thu, 2 Nov 2023 13:47:25 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 88E1EF80564 for ; Thu, 2 Nov 2023 13:47:22 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 88E1EF80564 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=AXlvg9lx DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698929244; x=1730465244; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=BpskdRIfZAyoaRETyi8iXG/6H9nRkJDV0ZkxDn3UXq4=; b=AXlvg9lxeME8sJaDXsmz/qMrbEb0VikliDs4gwK2/k7xLt/AECQN7zkv jZH2mgDdtxI5KQgKyP5pe9yOoL+8xd9iWrjwd0aEAVLHnjVMXCFLUV4Bi X21H49YrclbsM7Ye8eb2457VUGXfHJQIKrLus7WlY5HDlyOI2JvJHG02F xXJ1eQ5I8v1dHGG3O3PNNqGYgiHCAfR1QqFy0eCF5KlN3jaIbN5T+D6jv BRs/owmMT4Onxm/heQF/cVKoymKkXxohygBGapBtrWflGieMnRXQ7kS1h 5XmvlMMYaza/1bNMsUNnsIDEmwHSl1Cur3O9RK7OWyR8hx4uLIX/IuP6P A==; X-IronPort-AV: E=McAfee;i="6600,9927,10881"; a="7343523" X-IronPort-AV: E=Sophos;i="6.03,271,1694761200"; d="scan'208";a="7343523" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Nov 2023 05:47:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10881"; a="1008454766" X-IronPort-AV: E=Sophos;i="6.03,271,1694761200"; d="scan'208";a="1008454766" Received: from dev2 (HELO DEV2.igk.intel.com) ([10.237.148.94]) by fmsmga006.fm.intel.com with ESMTP; 02 Nov 2023 05:47:18 -0700 From: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= To: Mark Brown Cc: Cezary Rojewski , Takashi Iwai , Jaroslav Kysela , alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, Krzysztof Kozlowski , =?utf-8?q?Amadeusz_S=C5=82awi=C5=84s?= =?utf-8?q?ki?= Subject: [PATCH 09/17] ASoC: Intel: avs: nau8825: Add proper id_table Date: Thu, 2 Nov 2023 13:47:04 +0100 Message-Id: <20231102124712.2549327-10-amadeuszx.slawinski@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231102124712.2549327-1-amadeuszx.slawinski@linux.intel.com> References: <20231102124712.2549327-1-amadeuszx.slawinski@linux.intel.com> MIME-Version: 1.0 Message-ID-Hash: MTYCYS3XDQGYJEROMKJBTLT4N4F5XDFJ X-Message-ID-Hash: MTYCYS3XDQGYJEROMKJBTLT4N4F5XDFJ X-MailFrom: amadeuszx.slawinski@linux.intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Add id_table and use it instead of alias to load module. Suggested-by: Krzysztof Kozlowski Reviewed-by: Cezary Rojewski Signed-off-by: Amadeusz Sławiński --- sound/soc/intel/avs/boards/nau8825.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/sound/soc/intel/avs/boards/nau8825.c b/sound/soc/intel/avs/boards/nau8825.c index d98b5deb78c9..1c1e2083f474 100644 --- a/sound/soc/intel/avs/boards/nau8825.c +++ b/sound/soc/intel/avs/boards/nau8825.c @@ -294,15 +294,23 @@ static int avs_nau8825_probe(struct platform_device *pdev) return devm_snd_soc_register_card(dev, card); } +static const struct platform_device_id avs_nau8825_driver_ids[] = { + { + .name = "avs_nau8825", + }, + {}, +}; +MODULE_DEVICE_TABLE(platform, avs_nau8825_driver_ids); + static struct platform_driver avs_nau8825_driver = { .probe = avs_nau8825_probe, .driver = { .name = "avs_nau8825", .pm = &snd_soc_pm_ops, }, + .id_table = avs_nau8825_driver_ids, }; module_platform_driver(avs_nau8825_driver) MODULE_LICENSE("GPL"); -MODULE_ALIAS("platform:avs_nau8825"); From patchwork Thu Nov 2 12:47:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= X-Patchwork-Id: 741093 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 86C9AC4332F for ; Thu, 2 Nov 2023 12:50:55 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id BE2EDA4E; Thu, 2 Nov 2023 13:50:03 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz BE2EDA4E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1698929453; bh=6EGi9V6cboKw6AotQz4ekyMvQb/rXSF85eucGOf3JYU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=UXhAJV5xVfgqmgPYhcCnwWJ22w141ANA04F4xQtIv4PIzBVS1SycajPkTZzGtgYTF 9hoHD5/SIHfBUCcjQFj29mr5OAkksbMGgXaUUumnqcD8uo8RNRt2Jspt3Ju3Xy0tRE d88vw96u2QMPStoNvlhn3uKQqVMcvyBz7qvAhvyA= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 883C4F805EB; Thu, 2 Nov 2023 13:47:40 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 7C0AEF805E3; Thu, 2 Nov 2023 13:47:38 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 5F153F805A1; Thu, 2 Nov 2023 13:47:27 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 2BBEEF80563 for ; Thu, 2 Nov 2023 13:47:22 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 2BBEEF80563 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=CAF6moUB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698929244; x=1730465244; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=6EGi9V6cboKw6AotQz4ekyMvQb/rXSF85eucGOf3JYU=; b=CAF6moUBgXFz9/xd3+tgMSBCykpkSRmf8OhdSdDOx/GtXvNGZo65A3Tc 1aqYmQySgdP2R5YJQJoYsbKx8f8lSPAMMkSiqipmVb2TLN/BCwqreHtJN A5LKy94kEKiw4G/9XvgkRQX+ba6Wht2ioAj4PreUZ3FheBoxh1DhCqOs1 P+hVwrVNcMBuyzhXQ7wZDLy02HKRcBqmvCXo2GwysXVrIpW4lZSl85Ujn DohsD7mI6UkcIkNkNDPBoOQ8cV601iEJh7QU2aDxEZeSfsKS5FPFZp0cz EOBdx/gSZl7jqCm+UY8pCAUl0paqi/K1NxOE93YJu2PZ/CIWw3iNM3G73 Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10881"; a="7343529" X-IronPort-AV: E=Sophos;i="6.03,271,1694761200"; d="scan'208";a="7343529" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Nov 2023 05:47:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10881"; a="1008454771" X-IronPort-AV: E=Sophos;i="6.03,271,1694761200"; d="scan'208";a="1008454771" Received: from dev2 (HELO DEV2.igk.intel.com) ([10.237.148.94]) by fmsmga006.fm.intel.com with ESMTP; 02 Nov 2023 05:47:20 -0700 From: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= To: Mark Brown Cc: Cezary Rojewski , Takashi Iwai , Jaroslav Kysela , alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, Krzysztof Kozlowski , =?utf-8?q?Amadeusz_S=C5=82awi=C5=84s?= =?utf-8?q?ki?= Subject: [PATCH 10/17] ASoC: Intel: avs: probe: Add proper id_table Date: Thu, 2 Nov 2023 13:47:05 +0100 Message-Id: <20231102124712.2549327-11-amadeuszx.slawinski@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231102124712.2549327-1-amadeuszx.slawinski@linux.intel.com> References: <20231102124712.2549327-1-amadeuszx.slawinski@linux.intel.com> MIME-Version: 1.0 Message-ID-Hash: 73MEHKTOM7FDZTZNJ5EGTFFVP5E4VBYX X-Message-ID-Hash: 73MEHKTOM7FDZTZNJ5EGTFFVP5E4VBYX X-MailFrom: amadeuszx.slawinski@linux.intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Add id_table and use it instead of alias to load module. Suggested-by: Krzysztof Kozlowski Reviewed-by: Cezary Rojewski Signed-off-by: Amadeusz Sławiński --- sound/soc/intel/avs/boards/probe.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/sound/soc/intel/avs/boards/probe.c b/sound/soc/intel/avs/boards/probe.c index 411acaee74f9..a9469b5ecb40 100644 --- a/sound/soc/intel/avs/boards/probe.c +++ b/sound/soc/intel/avs/boards/probe.c @@ -50,15 +50,23 @@ static int avs_probe_mb_probe(struct platform_device *pdev) return devm_snd_soc_register_card(dev, card); } +static const struct platform_device_id avs_probe_mb_driver_ids[] = { + { + .name = "avs_probe_mb", + }, + {}, +}; +MODULE_DEVICE_TABLE(platform, avs_probe_mb_driver_ids); + static struct platform_driver avs_probe_mb_driver = { .probe = avs_probe_mb_probe, .driver = { .name = "avs_probe_mb", .pm = &snd_soc_pm_ops, }, + .id_table = avs_probe_mb_driver_ids, }; module_platform_driver(avs_probe_mb_driver); MODULE_LICENSE("GPL"); -MODULE_ALIAS("platform:avs_probe_mb"); From patchwork Thu Nov 2 12:47:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= X-Patchwork-Id: 740486 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7F2F9C4332F for ; Thu, 2 Nov 2023 12:51:14 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id C1828DF9; Thu, 2 Nov 2023 13:50:22 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz C1828DF9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1698929472; bh=B4bI3Klz+igU/UXJr5zqGf2V6r43W6VxINMqAsc1jhM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=cBq/PgwuA3nBNMZZh4b4qnW3jsmFpY9q0vtF5RoVFNxggIxeRrmzIRWHIJeuJNzD/ YUgIcNHBg+oFWcWyfMNIoIM33mzuXwlRK4l9PYonMfFjhe4YbBZhvMVkxpKaKFSpXF CxtGGOCr1WJDXkqPXwE7DsQWdNVhvUphLUo5hMbE= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 584D4F805EE; Thu, 2 Nov 2023 13:47:41 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 8EEAAF805EC; Thu, 2 Nov 2023 13:47:40 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id CEC2EF805A1; Thu, 2 Nov 2023 13:47:29 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 23142F805A0 for ; Thu, 2 Nov 2023 13:47:24 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 23142F805A0 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=Wsk/TBC2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698929246; x=1730465246; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=B4bI3Klz+igU/UXJr5zqGf2V6r43W6VxINMqAsc1jhM=; b=Wsk/TBC2IT2H7aEZZLc6A5hbpp+SSc23tsFDkPJr2r7b44GA9GoRCBQd lEFb1Y5wLpITvkyYK8gDJN1XoHgHpQ3ZXceflL1yULdpHaBCqjIf2GlGb XI79IZL9gKFAXqrv6llvs1qM1WlPObjOW7fY2sZL0VHbqbLRYsqxuYFXC Ph8fpHB3+nn/KTv/+tY5wCG6RQsVUIywh2/a1R6SLY04eJ9DjXDsCWLoM jPID+9G/KpGOU64frjyLrZIp8DaRIGI1dCFJcW8ozoVQWyLUE6LCUqad+ tClm+g6DsyePetOIhQu4JYypeZz7AD7KMZ1u4cQJ9CCKiyz0qcXbVdW4t Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10881"; a="7343535" X-IronPort-AV: E=Sophos;i="6.03,271,1694761200"; d="scan'208";a="7343535" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Nov 2023 05:47:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10881"; a="1008454775" X-IronPort-AV: E=Sophos;i="6.03,271,1694761200"; d="scan'208";a="1008454775" Received: from dev2 (HELO DEV2.igk.intel.com) ([10.237.148.94]) by fmsmga006.fm.intel.com with ESMTP; 02 Nov 2023 05:47:22 -0700 From: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= To: Mark Brown Cc: Cezary Rojewski , Takashi Iwai , Jaroslav Kysela , alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, Krzysztof Kozlowski , =?utf-8?q?Amadeusz_S=C5=82awi=C5=84s?= =?utf-8?q?ki?= Subject: [PATCH 11/17] ASoC: Intel: avs: rt274: Add proper id_table Date: Thu, 2 Nov 2023 13:47:06 +0100 Message-Id: <20231102124712.2549327-12-amadeuszx.slawinski@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231102124712.2549327-1-amadeuszx.slawinski@linux.intel.com> References: <20231102124712.2549327-1-amadeuszx.slawinski@linux.intel.com> MIME-Version: 1.0 Message-ID-Hash: SLE5GBXG7PFPGAZHVMGPC4FHN35I7TP6 X-Message-ID-Hash: SLE5GBXG7PFPGAZHVMGPC4FHN35I7TP6 X-MailFrom: amadeuszx.slawinski@linux.intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Add id_table and use it instead of alias to load module. Suggested-by: Krzysztof Kozlowski Reviewed-by: Cezary Rojewski Signed-off-by: Amadeusz Sławiński --- sound/soc/intel/avs/boards/rt274.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/sound/soc/intel/avs/boards/rt274.c b/sound/soc/intel/avs/boards/rt274.c index 157183b1de24..bfcb8845fd15 100644 --- a/sound/soc/intel/avs/boards/rt274.c +++ b/sound/soc/intel/avs/boards/rt274.c @@ -257,15 +257,23 @@ static int avs_rt274_probe(struct platform_device *pdev) return devm_snd_soc_register_card(dev, card); } +static const struct platform_device_id avs_rt274_driver_ids[] = { + { + .name = "avs_rt274", + }, + {}, +}; +MODULE_DEVICE_TABLE(platform, avs_rt274_driver_ids); + static struct platform_driver avs_rt274_driver = { .probe = avs_rt274_probe, .driver = { .name = "avs_rt274", .pm = &snd_soc_pm_ops, }, + .id_table = avs_rt274_driver_ids, }; module_platform_driver(avs_rt274_driver); MODULE_LICENSE("GPL"); -MODULE_ALIAS("platform:avs_rt274"); From patchwork Thu Nov 2 12:47:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= X-Patchwork-Id: 741092 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 484D8C4332F for ; Thu, 2 Nov 2023 12:51:21 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 3DEFBE72; Thu, 2 Nov 2023 13:50:29 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 3DEFBE72 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1698929479; bh=xValfF4gzdEVDSQ3x1QuNQY2nw9XNZbWfDc7OIw4BdA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=fUSBp2PF3f1FAn7dYvuKFn5lALQim4H5XoEBSqLa54z2be2wTHZ/6iv+0LgO2/4sr dnuEANEsSQSp40oN5FclY9CaHT7X0/4IpJMHp/7fIYq6YTVSQFvWfExeQfiXyyJfAx +8bQceeYqLdj8yGTIEWQgedjPsvJyKbkCpDLpbLI= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 7F08EF805EF; Thu, 2 Nov 2023 13:47:43 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 8F1F0F805F1; Thu, 2 Nov 2023 13:47:42 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id CF8E8F805BB; Thu, 2 Nov 2023 13:47:32 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 3AE26F80580 for ; Thu, 2 Nov 2023 13:47:27 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 3AE26F80580 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=T+eoQUzL DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698929249; x=1730465249; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=xValfF4gzdEVDSQ3x1QuNQY2nw9XNZbWfDc7OIw4BdA=; b=T+eoQUzLwJnnHZvME3pX2xVttxpbxnBN++F+qbb781Oe/OO4vFW7zvPe ri8oJ5Z8mUxtMj2BPFPjpSjI00ETe45eLAiIZbuVIZFPIL6b059fa+vbw gCnlL3LA3zc3M44s42XbI6+7D7cU3SpEH1h/2Hy2QP0rf2Fp0r468uAvf m04e2iqRVbwr+frm03qsaaazr2vGD79AtH1vonUSlEqeMCH0l45HfFrIr 7zQk5ZNN4A9SzD153WCyIH8KhKr2d2Rc5e4zGSwCDO8BunfCBw2i4B9Zo vKaM5+BUBulQdKtY9h8ww9rrWavsujVAPSjzI5QjY8x6voy7pq4gq7nw7 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10881"; a="7343540" X-IronPort-AV: E=Sophos;i="6.03,271,1694761200"; d="scan'208";a="7343540" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Nov 2023 05:47:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10881"; a="1008454779" X-IronPort-AV: E=Sophos;i="6.03,271,1694761200"; d="scan'208";a="1008454779" Received: from dev2 (HELO DEV2.igk.intel.com) ([10.237.148.94]) by fmsmga006.fm.intel.com with ESMTP; 02 Nov 2023 05:47:24 -0700 From: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= To: Mark Brown Cc: Cezary Rojewski , Takashi Iwai , Jaroslav Kysela , alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, Krzysztof Kozlowski , =?utf-8?q?Amadeusz_S=C5=82awi=C5=84s?= =?utf-8?q?ki?= Subject: [PATCH 12/17] ASoC: Intel: avs: rt286: Add proper id_table Date: Thu, 2 Nov 2023 13:47:07 +0100 Message-Id: <20231102124712.2549327-13-amadeuszx.slawinski@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231102124712.2549327-1-amadeuszx.slawinski@linux.intel.com> References: <20231102124712.2549327-1-amadeuszx.slawinski@linux.intel.com> MIME-Version: 1.0 Message-ID-Hash: TA5IT3SQHA5Q2JOH57DC2MFJAHMUFLCL X-Message-ID-Hash: TA5IT3SQHA5Q2JOH57DC2MFJAHMUFLCL X-MailFrom: amadeuszx.slawinski@linux.intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Add id_table and use it instead of alias to load module. Suggested-by: Krzysztof Kozlowski Reviewed-by: Cezary Rojewski Signed-off-by: Amadeusz Sławiński --- sound/soc/intel/avs/boards/rt286.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/sound/soc/intel/avs/boards/rt286.c b/sound/soc/intel/avs/boards/rt286.c index 131237471e3e..28d7d86b1cc9 100644 --- a/sound/soc/intel/avs/boards/rt286.c +++ b/sound/soc/intel/avs/boards/rt286.c @@ -228,15 +228,23 @@ static int avs_rt286_probe(struct platform_device *pdev) return devm_snd_soc_register_card(dev, card); } +static const struct platform_device_id avs_rt286_driver_ids[] = { + { + .name = "avs_rt286", + }, + {}, +}; +MODULE_DEVICE_TABLE(platform, avs_rt286_driver_ids); + static struct platform_driver avs_rt286_driver = { .probe = avs_rt286_probe, .driver = { .name = "avs_rt286", .pm = &snd_soc_pm_ops, }, + .id_table = avs_rt286_driver_ids, }; module_platform_driver(avs_rt286_driver); MODULE_LICENSE("GPL"); -MODULE_ALIAS("platform:avs_rt286"); From patchwork Thu Nov 2 12:47:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= X-Patchwork-Id: 740485 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B40B6C4332F for ; Thu, 2 Nov 2023 12:51:34 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id D5708DE5; Thu, 2 Nov 2023 13:50:42 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz D5708DE5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1698929492; bh=hhGEiC6MAXSvmtFmSYlFOPAgnBfUa6nmG1/2UD7IdHs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=EZH3LEghxvCKWw3JldxhqgyaA9aOMsa78ZeZASUkjUfciRqWgRb2c0G/gsIPeqou2 KCExUaIgMi6IWsWhloJh/MX1cl6Pf/IZQTQyovjjt4Ss4P85Zv2yJjRjHthGdFjQRP GE9O7GPevlQfM+T3oOynqKL1Pz+svlOAI9jJhm0w= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 39C7FF805FD; Thu, 2 Nov 2023 13:47:46 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 798B3F805FC; Thu, 2 Nov 2023 13:47:45 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id BADC0F805C8; Thu, 2 Nov 2023 13:47:33 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 2E178F805B5 for ; Thu, 2 Nov 2023 13:47:29 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 2E178F805B5 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=O1LqW8jJ DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698929250; x=1730465250; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=hhGEiC6MAXSvmtFmSYlFOPAgnBfUa6nmG1/2UD7IdHs=; b=O1LqW8jJ+vaUmAfJpfl01KkjjLhD07tsohHTtxL2mRFjUMSRWjmzLFIw ODK6LovsOp54xW+luaNTaZ7/LMne/L1i8MG2WQDqHXYtuUKAejz8Ktdy3 cr8MoimhTWZb6wEBMGTSz2Uxj/UibgpiV2m9J2tuRn8YTm8ndASAvRrQj O6KNQJiu3uYGvf+yffpMFPbjrMMA55fGCjaKN+JePTOa6xzbfPh6zNrJQ mipRe7rmwGrjnQO2saTje6tTid0pQanYAxIxr3BrAbyV5OFyHvtgDD3ZE kJt1eaHfx2MtXo6u8YBqBa7N96trTJXTsi4SMeZtmCyD61D6RUtvUfxFE w==; X-IronPort-AV: E=McAfee;i="6600,9927,10881"; a="7343549" X-IronPort-AV: E=Sophos;i="6.03,271,1694761200"; d="scan'208";a="7343549" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Nov 2023 05:47:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10881"; a="1008454782" X-IronPort-AV: E=Sophos;i="6.03,271,1694761200"; d="scan'208";a="1008454782" Received: from dev2 (HELO DEV2.igk.intel.com) ([10.237.148.94]) by fmsmga006.fm.intel.com with ESMTP; 02 Nov 2023 05:47:26 -0700 From: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= To: Mark Brown Cc: Cezary Rojewski , Takashi Iwai , Jaroslav Kysela , alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, Krzysztof Kozlowski , =?utf-8?q?Amadeusz_S=C5=82awi=C5=84s?= =?utf-8?q?ki?= Subject: [PATCH 13/17] ASoC: Intel: avs: rt298: Add proper id_table Date: Thu, 2 Nov 2023 13:47:08 +0100 Message-Id: <20231102124712.2549327-14-amadeuszx.slawinski@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231102124712.2549327-1-amadeuszx.slawinski@linux.intel.com> References: <20231102124712.2549327-1-amadeuszx.slawinski@linux.intel.com> MIME-Version: 1.0 Message-ID-Hash: 4ITAAHISAJ7S3ET34P7QTH4KQDZU4HPU X-Message-ID-Hash: 4ITAAHISAJ7S3ET34P7QTH4KQDZU4HPU X-MailFrom: amadeuszx.slawinski@linux.intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Add id_table and use it instead of alias to load module. Suggested-by: Krzysztof Kozlowski Reviewed-by: Cezary Rojewski Signed-off-by: Amadeusz Sławiński --- sound/soc/intel/avs/boards/rt298.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/sound/soc/intel/avs/boards/rt298.c b/sound/soc/intel/avs/boards/rt298.c index ea32a7690c8a..80f490b9e118 100644 --- a/sound/soc/intel/avs/boards/rt298.c +++ b/sound/soc/intel/avs/boards/rt298.c @@ -247,15 +247,23 @@ static int avs_rt298_probe(struct platform_device *pdev) return devm_snd_soc_register_card(dev, card); } +static const struct platform_device_id avs_rt298_driver_ids[] = { + { + .name = "avs_rt298", + }, + {}, +}; +MODULE_DEVICE_TABLE(platform, avs_rt298_driver_ids); + static struct platform_driver avs_rt298_driver = { .probe = avs_rt298_probe, .driver = { .name = "avs_rt298", .pm = &snd_soc_pm_ops, }, + .id_table = avs_rt298_driver_ids, }; module_platform_driver(avs_rt298_driver); MODULE_LICENSE("GPL"); -MODULE_ALIAS("platform:avs_rt298"); From patchwork Thu Nov 2 12:47:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= X-Patchwork-Id: 741091 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C3F3EC4332F for ; Thu, 2 Nov 2023 12:51:54 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id BC145825; Thu, 2 Nov 2023 13:51:02 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz BC145825 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1698929512; bh=SJW6lBx399mcw2ZSYof4RhJVNWp96jmaEq/tXtC7eHI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=n7paqIYV6ODSwSogKav4MLMn8b8TFSt1oFFWKpHwFcw28x7seftqAQYFEvAAHgu6Y Tz0p+gP75pmEXzMIescBKFIK8CS7zIbOE4P5iZ/GLeuBUj3eUBAtomP+LXMJbnJESu ar3xl4qGZJD3a+UIsp5wnV5V6BMbOFu6VzvpfvVk= Received: by alsa1.perex.cz (Postfix, from userid 50401) id F30ADF80603; Thu, 2 Nov 2023 13:47:48 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 101DAF80601; Thu, 2 Nov 2023 13:47:48 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id E2482F805D5; Thu, 2 Nov 2023 13:47:34 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 302C7F805AC for ; Thu, 2 Nov 2023 13:47:31 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 302C7F805AC Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=e0ouZI+N DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698929253; x=1730465253; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=SJW6lBx399mcw2ZSYof4RhJVNWp96jmaEq/tXtC7eHI=; b=e0ouZI+N7Znop+64V4cusKwem/+gsPCjPHf0aQSklXh0k/UZ347tIuxg quPfbZsbkFTVGNVAreLddoTrk7bFpPRbQBrS/2jSFaqELNP/7Av2xSE0F 5msfexIPMMqhT5YUnjc/dIwiKz1p6iwowI+2XS7GoE9U+Z0qVj+IDOF9/ 01KndtJi2IyVoJV3lxTcbbwXBP4eMoUupQu3i0hv9u87kU4ZxRvb+sW2Y 3rcvLJ9NMlJ3FXQWcMeFCjwQ8h880QjrBF8D/phCnu/RhoiMXQdnlA57+ KGt1Kyf/97RW64f5+6AS3h6b+sQ3Wb8F9c78Bg+TlRMPeMvdYhWOeZYbP A==; X-IronPort-AV: E=McAfee;i="6600,9927,10881"; a="7343557" X-IronPort-AV: E=Sophos;i="6.03,271,1694761200"; d="scan'208";a="7343557" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Nov 2023 05:47:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10881"; a="1008454789" X-IronPort-AV: E=Sophos;i="6.03,271,1694761200"; d="scan'208";a="1008454789" Received: from dev2 (HELO DEV2.igk.intel.com) ([10.237.148.94]) by fmsmga006.fm.intel.com with ESMTP; 02 Nov 2023 05:47:28 -0700 From: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= To: Mark Brown Cc: Cezary Rojewski , Takashi Iwai , Jaroslav Kysela , alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, Krzysztof Kozlowski , =?utf-8?q?Amadeusz_S=C5=82awi=C5=84s?= =?utf-8?q?ki?= Subject: [PATCH 14/17] ASoC: Intel: avs: rt5514: Add proper id_table Date: Thu, 2 Nov 2023 13:47:09 +0100 Message-Id: <20231102124712.2549327-15-amadeuszx.slawinski@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231102124712.2549327-1-amadeuszx.slawinski@linux.intel.com> References: <20231102124712.2549327-1-amadeuszx.slawinski@linux.intel.com> MIME-Version: 1.0 Message-ID-Hash: D5GF5AZVTEIX7QTNWW2IU75GHKGDUAXH X-Message-ID-Hash: D5GF5AZVTEIX7QTNWW2IU75GHKGDUAXH X-MailFrom: amadeuszx.slawinski@linux.intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Add id_table and use it instead of alias to load module. Suggested-by: Krzysztof Kozlowski Reviewed-by: Cezary Rojewski Signed-off-by: Amadeusz Sławiński --- sound/soc/intel/avs/boards/rt5514.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/sound/soc/intel/avs/boards/rt5514.c b/sound/soc/intel/avs/boards/rt5514.c index ad486a52e5e3..60105f453ae2 100644 --- a/sound/soc/intel/avs/boards/rt5514.c +++ b/sound/soc/intel/avs/boards/rt5514.c @@ -173,15 +173,23 @@ static int avs_rt5514_probe(struct platform_device *pdev) return devm_snd_soc_register_card(dev, card); } +static const struct platform_device_id avs_rt5514_driver_ids[] = { + { + .name = "avs_rt5514", + }, + {}, +}; +MODULE_DEVICE_TABLE(platform, avs_rt5514_driver_ids); + static struct platform_driver avs_rt5514_driver = { .probe = avs_rt5514_probe, .driver = { .name = "avs_rt5514", .pm = &snd_soc_pm_ops, }, + .id_table = avs_rt5514_driver_ids, }; module_platform_driver(avs_rt5514_driver); MODULE_LICENSE("GPL"); -MODULE_ALIAS("platform:avs_rt5514"); From patchwork Thu Nov 2 12:47:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= X-Patchwork-Id: 740484 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D87FCC4332F for ; Thu, 2 Nov 2023 12:52:12 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 0BE61E7D; Thu, 2 Nov 2023 13:51:21 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 0BE61E7D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1698929531; bh=m9bBmWjH7tlH5KyGptu10AMFDBuYlNU/Vpgu4ghGUPM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=AAnCnBBU6OjfWcE2gXR+Nza4UzIpFiHI9nSveyWvi3IyyEv2wl/eXKozIxJKINNAe rzKes3wziGCRtLGVBEzM30v7hQD/Yqkj9m4bt+lSTAun0yuI1kQXyJjnzmyKYWpGGM tiag2Edth0taU1+huDo9EY+eNEh5+FRLddjpNSb8= Received: by alsa1.perex.cz (Postfix, from userid 50401) id A6B0DF8060C; Thu, 2 Nov 2023 13:47:51 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 9E971F8060D; Thu, 2 Nov 2023 13:47:50 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id D773FF805D8; Thu, 2 Nov 2023 13:47:35 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 30C24F805C8 for ; Thu, 2 Nov 2023 13:47:32 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 30C24F805C8 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=YV4pPKPb DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698929255; x=1730465255; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=m9bBmWjH7tlH5KyGptu10AMFDBuYlNU/Vpgu4ghGUPM=; b=YV4pPKPb/Rwu2/lewouq2PgIXwNCmPR4xyitC3dx0pAadlG5lrjs+NHv O1YZR+IgybO3Gjo4xdGrKRGroUuVRiXMl4sX9dgW/v8fWHwidAKuWCNW8 FcNnDoMAk1lKtAshwseeUhICROWtBqd/XrJc3rbeVVzX5WIaKjHIaLmDY RGnao73bkkrVt8lYEd/cSyqfYY/iK/oLWZkjX77czL1RMu1vgC8Qx1Ehc I3rfu8tGHwSXqKrMqgcaeyx08S7KRCzc+MiJZ6xJcb/5wOIjQp0VNyumP pLBgMs07sPPF/By/jA4D13/jAEGlprr3xlgSoXN6Pq2B804C+mT6o8TMg g==; X-IronPort-AV: E=McAfee;i="6600,9927,10881"; a="7343569" X-IronPort-AV: E=Sophos;i="6.03,271,1694761200"; d="scan'208";a="7343569" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Nov 2023 05:47:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10881"; a="1008454795" X-IronPort-AV: E=Sophos;i="6.03,271,1694761200"; d="scan'208";a="1008454795" Received: from dev2 (HELO DEV2.igk.intel.com) ([10.237.148.94]) by fmsmga006.fm.intel.com with ESMTP; 02 Nov 2023 05:47:30 -0700 From: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= To: Mark Brown Cc: Cezary Rojewski , Takashi Iwai , Jaroslav Kysela , alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, Krzysztof Kozlowski , =?utf-8?q?Amadeusz_S=C5=82awi=C5=84s?= =?utf-8?q?ki?= Subject: [PATCH 15/17] ASoC: Intel: avs: rt5663: Add proper id_table Date: Thu, 2 Nov 2023 13:47:10 +0100 Message-Id: <20231102124712.2549327-16-amadeuszx.slawinski@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231102124712.2549327-1-amadeuszx.slawinski@linux.intel.com> References: <20231102124712.2549327-1-amadeuszx.slawinski@linux.intel.com> MIME-Version: 1.0 Message-ID-Hash: HDQBT2J77H3TXSQVEDR2OY7QRFPUJWS2 X-Message-ID-Hash: HDQBT2J77H3TXSQVEDR2OY7QRFPUJWS2 X-MailFrom: amadeuszx.slawinski@linux.intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Add id_table and use it instead of alias to load module. Suggested-by: Krzysztof Kozlowski Reviewed-by: Cezary Rojewski Signed-off-by: Amadeusz Sławiński --- sound/soc/intel/avs/boards/rt5663.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/sound/soc/intel/avs/boards/rt5663.c b/sound/soc/intel/avs/boards/rt5663.c index 3effd789a45e..b4762c2a7bf2 100644 --- a/sound/soc/intel/avs/boards/rt5663.c +++ b/sound/soc/intel/avs/boards/rt5663.c @@ -246,15 +246,23 @@ static int avs_rt5663_probe(struct platform_device *pdev) return devm_snd_soc_register_card(dev, card); } +static const struct platform_device_id avs_rt5663_driver_ids[] = { + { + .name = "avs_rt5663", + }, + {}, +}; +MODULE_DEVICE_TABLE(platform, avs_rt5663_driver_ids); + static struct platform_driver avs_rt5663_driver = { .probe = avs_rt5663_probe, .driver = { .name = "avs_rt5663", .pm = &snd_soc_pm_ops, }, + .id_table = avs_rt5663_driver_ids, }; module_platform_driver(avs_rt5663_driver); MODULE_LICENSE("GPL"); -MODULE_ALIAS("platform:avs_rt5663"); From patchwork Thu Nov 2 12:47:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= X-Patchwork-Id: 741090 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A9761C4332F for ; Thu, 2 Nov 2023 12:52:21 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id D4061E10; Thu, 2 Nov 2023 13:51:29 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz D4061E10 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1698929539; bh=7c51H5IdDaauTh0xrCMppktDjKjOltb5wmXvGjkqYXo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=WihuwNinU1zDS8f3uEIxtFKCUQdwL/FVLOVvzZbOIK/PQ6ol5Oyd9L2j3TICI4xN6 +WBtQ/JGF0O+nbWbJppOCAK/GKIY28/aYQwr2PoA+D+kUZDI8qd4wGGGUNfYneESNs OpK7YmGsoplIcx5wQ8lyYh0xtsVjXHQ5bmhuebIk= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 4181FF8061A; Thu, 2 Nov 2023 13:47:53 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 85EF0F8060E; Thu, 2 Nov 2023 13:47:52 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 4233EF805E6; Thu, 2 Nov 2023 13:47:38 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 27395F805DA for ; Thu, 2 Nov 2023 13:47:34 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 27395F805DA Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=WVXCG9Bx DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698929256; x=1730465256; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=7c51H5IdDaauTh0xrCMppktDjKjOltb5wmXvGjkqYXo=; b=WVXCG9BxYOnCes9OdkWxEhq7NBU5DtywhQbaqKjKicAki+nCSmEw7V9X IZbraQBVsXFEnHPbrh9SA0J+HLZ9zd5A5IKnzxWQ1bmlXBtNvi8O4To7C mFQv629cK6Ta96IjQKrrdIS9cMoi7Xa0Xeb9b6dZPthGDYxKhrJYWv59t Z9pNwEUVe3F91xm30Ms9f7F7mePWj8H/2dbDEkS+sRlD/R+gWymyYFNbd Y74hX6n8XIFlA0/03EC59t39EPGHljojQrdj3bSk72UnPxXxzPKdz2hJY vjoCAYxwa6Juhxfd7EEZPcNidAqbSiaMjJF6aG7+ejT5Hi4vFHhiAuBs6 A==; X-IronPort-AV: E=McAfee;i="6600,9927,10881"; a="7343579" X-IronPort-AV: E=Sophos;i="6.03,271,1694761200"; d="scan'208";a="7343579" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Nov 2023 05:47:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10881"; a="1008454799" X-IronPort-AV: E=Sophos;i="6.03,271,1694761200"; d="scan'208";a="1008454799" Received: from dev2 (HELO DEV2.igk.intel.com) ([10.237.148.94]) by fmsmga006.fm.intel.com with ESMTP; 02 Nov 2023 05:47:32 -0700 From: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= To: Mark Brown Cc: Cezary Rojewski , Takashi Iwai , Jaroslav Kysela , alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, Krzysztof Kozlowski , =?utf-8?q?Amadeusz_S=C5=82awi=C5=84s?= =?utf-8?q?ki?= Subject: [PATCH 16/17] ASoC: Intel: avs: rt5682: Add proper id_table Date: Thu, 2 Nov 2023 13:47:11 +0100 Message-Id: <20231102124712.2549327-17-amadeuszx.slawinski@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231102124712.2549327-1-amadeuszx.slawinski@linux.intel.com> References: <20231102124712.2549327-1-amadeuszx.slawinski@linux.intel.com> MIME-Version: 1.0 Message-ID-Hash: HTMM62Y75G77ZKN5F4OFSQ7MYHDGI4EN X-Message-ID-Hash: HTMM62Y75G77ZKN5F4OFSQ7MYHDGI4EN X-MailFrom: amadeuszx.slawinski@linux.intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Add id_table and use it instead of alias to load module. Suggested-by: Krzysztof Kozlowski Reviewed-by: Cezary Rojewski Signed-off-by: Amadeusz Sławiński --- sound/soc/intel/avs/boards/rt5682.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/sound/soc/intel/avs/boards/rt5682.c b/sound/soc/intel/avs/boards/rt5682.c index 84e850c0b085..243f979fda98 100644 --- a/sound/soc/intel/avs/boards/rt5682.c +++ b/sound/soc/intel/avs/boards/rt5682.c @@ -322,16 +322,24 @@ static int avs_rt5682_probe(struct platform_device *pdev) return devm_snd_soc_register_card(dev, card); } +static const struct platform_device_id avs_rt5682_driver_ids[] = { + { + .name = "avs_rt5682", + }, + {}, +}; +MODULE_DEVICE_TABLE(platform, avs_rt5682_driver_ids); + static struct platform_driver avs_rt5682_driver = { .probe = avs_rt5682_probe, .driver = { .name = "avs_rt5682", .pm = &snd_soc_pm_ops, }, + .id_table = avs_rt5682_driver_ids, }; module_platform_driver(avs_rt5682_driver) MODULE_AUTHOR("Cezary Rojewski "); MODULE_LICENSE("GPL"); -MODULE_ALIAS("platform:avs_rt5682"); From patchwork Thu Nov 2 12:47:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= X-Patchwork-Id: 740483 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9B8FDC4332F for ; Thu, 2 Nov 2023 12:52:37 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 700EBDFA; Thu, 2 Nov 2023 13:51:45 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 700EBDFA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1698929555; bh=ZMR0u26l/9HghG3YmtKLFwtVnwlS/1lbLbL2kC6YwyY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=k7f8jZrUCEimyK16xnw9lhmJlkmJEzh0XUsefMa+oBHDcxG4tjZNreDqm9FHs4x/b 8ODQUp92MKBaSmDN1d8OMNOYAroVbrBn/ByMJB2c50ghWApeQtCwZlNqG1TSEtnqOk txCnr1ZotYoz01CzL7IRL/z9GKjcdFxBO/dxjbIE= Received: by alsa1.perex.cz (Postfix, from userid 50401) id D67DAF8061B; Thu, 2 Nov 2023 13:47:54 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 2A3A8F8061D; Thu, 2 Nov 2023 13:47:54 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 9D238F805EF; Thu, 2 Nov 2023 13:47:41 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 18F23F805D6 for ; Thu, 2 Nov 2023 13:47:36 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 18F23F805D6 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=e0YyOfbT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698929258; x=1730465258; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ZMR0u26l/9HghG3YmtKLFwtVnwlS/1lbLbL2kC6YwyY=; b=e0YyOfbTim6cP+OB/pTfBIZoPLjFh6ibSrxJLS2bZr3UnK7oU5rX2is0 hiQ6d+h3/B7AhdyLwi1pt/Ucprc13Nu2qq8S4gw3qrJYJ9nf1VvRUZiFw I0zuvpRZcmKmaCnSDjI751r5jbtqpyRx7XHMDSwK5dgHLRH7QQv4Rv1Od bnyuzLn1+z8zCnjt9fubJDqni/xXPgqPhO/tsnd0DqEkcvocQS7DoMDG/ WED3TXIJ9CzD65v4sONcPB79Rq2yEdRQeRDnJP1AWzSLbX7Lm8bcbNtic Dci358PJ9pxxDHF43ImisEACc3ofnFTeRyyO1UqT5aQOPtFGyKQWFILC8 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10881"; a="7343585" X-IronPort-AV: E=Sophos;i="6.03,271,1694761200"; d="scan'208";a="7343585" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Nov 2023 05:47:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10881"; a="1008454805" X-IronPort-AV: E=Sophos;i="6.03,271,1694761200"; d="scan'208";a="1008454805" Received: from dev2 (HELO DEV2.igk.intel.com) ([10.237.148.94]) by fmsmga006.fm.intel.com with ESMTP; 02 Nov 2023 05:47:34 -0700 From: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= To: Mark Brown Cc: Cezary Rojewski , Takashi Iwai , Jaroslav Kysela , alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, Krzysztof Kozlowski , =?utf-8?q?Amadeusz_S=C5=82awi=C5=84s?= =?utf-8?q?ki?= Subject: [PATCH 17/17] ASoC: Intel: avs: ssm4567: Add proper id_table Date: Thu, 2 Nov 2023 13:47:12 +0100 Message-Id: <20231102124712.2549327-18-amadeuszx.slawinski@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231102124712.2549327-1-amadeuszx.slawinski@linux.intel.com> References: <20231102124712.2549327-1-amadeuszx.slawinski@linux.intel.com> MIME-Version: 1.0 Message-ID-Hash: 37LFZUCQG4NJVAIAALQC6YRH2TRAIP2V X-Message-ID-Hash: 37LFZUCQG4NJVAIAALQC6YRH2TRAIP2V X-MailFrom: amadeuszx.slawinski@linux.intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Add id_table and use it instead of alias to load module. Suggested-by: Krzysztof Kozlowski Reviewed-by: Cezary Rojewski Signed-off-by: Amadeusz Sławiński --- sound/soc/intel/avs/boards/ssm4567.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/sound/soc/intel/avs/boards/ssm4567.c b/sound/soc/intel/avs/boards/ssm4567.c index 6bcab9deae5c..4a0e136835ff 100644 --- a/sound/soc/intel/avs/boards/ssm4567.c +++ b/sound/soc/intel/avs/boards/ssm4567.c @@ -181,15 +181,23 @@ static int avs_ssm4567_probe(struct platform_device *pdev) return devm_snd_soc_register_card(dev, card); } +static const struct platform_device_id avs_ssm4567_driver_ids[] = { + { + .name = "avs_ssm4567", + }, + {}, +}; +MODULE_DEVICE_TABLE(platform, avs_ssm4567_driver_ids); + static struct platform_driver avs_ssm4567_driver = { .probe = avs_ssm4567_probe, .driver = { .name = "avs_ssm4567", .pm = &snd_soc_pm_ops, }, + .id_table = avs_ssm4567_driver_ids, }; module_platform_driver(avs_ssm4567_driver) MODULE_LICENSE("GPL"); -MODULE_ALIAS("platform:avs_ssm4567");