From patchwork Thu Feb 20 11:26:20 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cezary Rojewski X-Patchwork-Id: 13983782 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E51421E7C23 for ; Thu, 20 Feb 2025 11:14:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050055; cv=none; b=UWmxh4JiVQ7N5u5xfT4A8fknOvSRhFDIWOIxc2P5lxaQTrYn5Kt0fFdgZvA19eBykTHrFCR7TCiiXj5osDdP5EPeoxqwomVAdccxu0koPH9jKxzriZrLowTWkCR7W+Tdr7TUk7YoBnpId9NuIcHYVky4hrcuQ4GmiZ1MZuq8aZw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050055; c=relaxed/simple; bh=BfJKEpslrOVMKaw2N1+ywJ5MHBwqKm9JPTutPpMxKFY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=mAYy6uuRycB07ITIllmlZkbnZP+177HiK7RwClFhwK4JYqOLau4hsIt424WAxBSqOTsBrmL9yBidtmGpi5XNHFs1UjpOpF4Hj7O4RCxWTKR74/zqc/phkkW3J62ONMpBkBxsQ+Cwj1nV4mNhjL/sfnMWY/1sj8FbVu1V/CcI1vU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=Od1LEPCD; arc=none smtp.client-ip=198.175.65.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Od1LEPCD" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1740050054; x=1771586054; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=BfJKEpslrOVMKaw2N1+ywJ5MHBwqKm9JPTutPpMxKFY=; b=Od1LEPCDoUL2HK1JNQuiKhSMmGGPfZwcsLFNYwOG1SV/OjaeLctgnOEk 5kkGt5DrE+OAZZu70/maE4zV+FU0TBvc3Facto+6xQXj33fm120NvZO7t Ttzek/vLx6pS+inTYo/Sah92Z14EPSbokxzlK3cj5nFdWCxNOvCOebKzv FUPWq5Bgf1xSquBvEsdJzzCvJNL4F6inqoK7vx5EjN4jV2bShXqbJmrX+ lm5AGn1lN7ZcYuubvwGpVIh8MAPPjpAPRe6OPLTKxKq8cHVsiBgBF0rWJ 0+oSc+SZwvhUdVqT2Qe2+R96F4k5QZ7FZuaI5E4Dna8At4ghztOmyhnqt A==; X-CSE-ConnectionGUID: 1/Cn6QX8TnGegaWbg3yYIQ== X-CSE-MsgGUID: EWTEvjjoQG+ciI0ylJSMOQ== X-IronPort-AV: E=McAfee;i="6700,10204,11350"; a="51808156" X-IronPort-AV: E=Sophos;i="6.13,301,1732608000"; d="scan'208";a="51808156" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Feb 2025 03:14:13 -0800 X-CSE-ConnectionGUID: uwBU8dwPQr2U80pqgHBetw== X-CSE-MsgGUID: 3m4AVBViRnK2EwoDSWYS/w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="114865253" Received: from crojewsk-ctrl.igk.intel.com ([10.237.149.254]) by orviesa010.jf.intel.com with ESMTP; 20 Feb 2025 03:14:11 -0800 From: Cezary Rojewski To: broonie@kernel.org Cc: tiwai@suse.com, perex@perex.cz, amadeuszx.slawinski@linux.intel.com, linux-sound@vger.kernel.org, oder_chiou@realtek.com, flove@realtek.com, andriy.shevchenko@linux.intel.com, Cezary Rojewski Subject: [PATCH 01/24] ASoC: codecs: rt1011: Fix definition of device_id tables Date: Thu, 20 Feb 2025 12:26:20 +0100 Message-Id: <20250220112643.3813295-2-cezary.rojewski@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20250220112643.3813295-1-cezary.rojewski@intel.com> References: <20250220112643.3813295-1-cezary.rojewski@intel.com> Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 There shall be no comma after the terminator entry and initializing fields with 0 for statically defined structs is redundant. Signed-off-by: Cezary Rojewski --- sound/soc/codecs/rt1011.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/soc/codecs/rt1011.c b/sound/soc/codecs/rt1011.c index a0e75b03e9dc..71355b7ce7e2 100644 --- a/sound/soc/codecs/rt1011.c +++ b/sound/soc/codecs/rt1011.c @@ -2192,15 +2192,15 @@ static const struct regmap_config rt1011_regmap = { #if defined(CONFIG_OF) static const struct of_device_id rt1011_of_match[] = { { .compatible = "realtek,rt1011", }, - {}, + {} }; MODULE_DEVICE_TABLE(of, rt1011_of_match); #endif #ifdef CONFIG_ACPI static const struct acpi_device_id rt1011_acpi_match[] = { - {"10EC1011", 0,}, - {}, + { "10EC1011" }, + {} }; MODULE_DEVICE_TABLE(acpi, rt1011_acpi_match); #endif From patchwork Thu Feb 20 11:26:21 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cezary Rojewski X-Patchwork-Id: 13983783 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 032751EE7B6 for ; Thu, 20 Feb 2025 11:14:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050061; cv=none; b=G8iEsWsaPvMdOD8yu5nO7ZU8FHbV/TjSgeEj1drse0qHTIU6wTBt3f9HMqm2QbHH7L6O8CTNaisBNmeT7RBfMxYKBpsBUTZsqAScwDiqRF7do4uGu5q9OKZby6iKRRopCk4gkAT/QVdfb/K8o6KhSrSGw+dxReQkFpU17qLYUwo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050061; c=relaxed/simple; bh=6HSbdYofRPKBzuBF1dqRs+9eAIdO1FSWN2ZKqHhI8Qs=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=gt4NEBpok7X5k/Wsk/5Q5j+PgLtn+SBld1uX3AxCX9LOflppWhSm5pW0w4+TLcqLA4ZQBkSjoeTb3d7a3wBeD/y2xeHwduvkHY+j4Vws0KGNYwqEH2I9zyZbpHENCF2AYWzFgX0pfdkdS/1lAXVGoLaFTrKq8mtKE2WGRkB3Jes= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=Ua0dpioU; arc=none smtp.client-ip=198.175.65.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Ua0dpioU" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1740050060; x=1771586060; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=6HSbdYofRPKBzuBF1dqRs+9eAIdO1FSWN2ZKqHhI8Qs=; b=Ua0dpioU7jf0KI9wjuQYtUCjSgJMW932NSBJGIlNjE1Sn+tYc9EGYJBC bGAMwkCJt5kArVrs2xtfYlf+UJrYhpa2yKPZBawkFSJbORtGzw50rQsYM aqvlGDk8CZnDDkWpOrPl7p8f2BQAwAIb6y3aimPWolCTiEhK+Sj5G/0mr aQ5kaTxQC0Nq5+9SnA6vhomHGDecpMrqYOJpm1cQUG6liu7wtjDD2vAvv mxdNw3lP5/R3rUC38U6Bg8rRfCUtXrVgIxSaWgaGtJzkPIUPEuIoh3hAB bIJSzoLiaRi3Sw1t/tKqIyEHP+ZI35OZ1PQMDMtiSHAOgGz7o4FNOtBZ7 w==; X-CSE-ConnectionGUID: Ye68fFNfTtGdvQjkETJKpQ== X-CSE-MsgGUID: BhhPpTr0S0aYXLtVcFqZqg== X-IronPort-AV: E=McAfee;i="6700,10204,11350"; a="51808173" X-IronPort-AV: E=Sophos;i="6.13,301,1732608000"; d="scan'208";a="51808173" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Feb 2025 03:14:19 -0800 X-CSE-ConnectionGUID: TJ+NyOfPTzerUWZOVDcU6A== X-CSE-MsgGUID: SXPyg5DzR0W1hYMezslh9Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="114865274" Received: from crojewsk-ctrl.igk.intel.com ([10.237.149.254]) by orviesa010.jf.intel.com with ESMTP; 20 Feb 2025 03:14:13 -0800 From: Cezary Rojewski To: broonie@kernel.org Cc: tiwai@suse.com, perex@perex.cz, amadeuszx.slawinski@linux.intel.com, linux-sound@vger.kernel.org, oder_chiou@realtek.com, flove@realtek.com, andriy.shevchenko@linux.intel.com, Cezary Rojewski Subject: [PATCH 02/24] ASoC: codecs: rt1015: Fix definition of device_id tables Date: Thu, 20 Feb 2025 12:26:21 +0100 Message-Id: <20250220112643.3813295-3-cezary.rojewski@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20250220112643.3813295-1-cezary.rojewski@intel.com> References: <20250220112643.3813295-1-cezary.rojewski@intel.com> Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 There shall be no comma after the terminator entry and initializing fields with 0 for statically defined structs is redundant. Signed-off-by: Cezary Rojewski --- sound/soc/codecs/rt1015.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/soc/codecs/rt1015.c b/sound/soc/codecs/rt1015.c index 0f806dde9c39..beed43bb7ca0 100644 --- a/sound/soc/codecs/rt1015.c +++ b/sound/soc/codecs/rt1015.c @@ -1105,15 +1105,15 @@ MODULE_DEVICE_TABLE(i2c, rt1015_i2c_id); #if defined(CONFIG_OF) static const struct of_device_id rt1015_of_match[] = { { .compatible = "realtek,rt1015", }, - {}, + {} }; MODULE_DEVICE_TABLE(of, rt1015_of_match); #endif #ifdef CONFIG_ACPI static const struct acpi_device_id rt1015_acpi_match[] = { - {"10EC1015", 0,}, - {}, + { "10EC1015" }, + {} }; MODULE_DEVICE_TABLE(acpi, rt1015_acpi_match); #endif From patchwork Thu Feb 20 11:26:22 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cezary Rojewski X-Patchwork-Id: 13983784 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B2B601EF096 for ; Thu, 20 Feb 2025 11:14:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050063; cv=none; b=LLQqtF53kiyA6zWQBbI0ON/HKbeJPiZaecKGrxB3nSsF2uI3z3tw+y+cHM4j04hnNrjnToZ+6HmNn3coMQDHKeqFCcmlvmNdjWaQk2LyLsqkbJRQ+itb8u3lw0aPNiQrSmPZd1ktQW7yOY4mR1vLpoTsSwMdPDiwka7c+f7Ju4c= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050063; c=relaxed/simple; bh=ea2+SMnXEblSpgKbVDxVf7SDj72c5OBn75M25KoNjS8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=DjTUi3BHxtOiRrWrInJItdt3FdjFrHkrzU9qv7uAgMaoQYyx7hhLhqoAzf/5Z8G4mKeKpBXCDUj1nFih52g1qx9g2VsYfgPTzeOqgMDQyppTbSwoGp/R0EsGWpJ0POkaKZT02BAC1WYYAQmLnQKUsbzYnfZvO+SO6EewbWG9pHE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=RCndIrCn; arc=none smtp.client-ip=198.175.65.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="RCndIrCn" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1740050062; x=1771586062; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ea2+SMnXEblSpgKbVDxVf7SDj72c5OBn75M25KoNjS8=; b=RCndIrCnKJodCLRQtGq0I7b54GkmjmukaU9MgynNwm+GcjrjdHD0kzoS lzh/zQGBJea+V7Z6lxAh5FzF6N3VXpA3kfCwxmsbxXdhVXcNpXbYWzjmS ZCd2Wb9rj98BGy7WlR18DYRGKEv5nYt/UQGEc4ZCz+vdHGaqKVqSVf1Hc A0+eV+T7r6ahHpItqQZRpjoK1H2Web1kSXmKAackwE+Fp3ijdnxWw8Jg4 22PR2KOi+Az8fNYnb/tW3sIrqWYGQOM3nE96DhSQys4tqDDqMct/kU7y3 il4OUTxEYaLDP5nQjge31iQpMZJHgTSuqp8obZ3dAQo21iUjxBfzJx8Dk A==; X-CSE-ConnectionGUID: JdNauzEBRpKhqaBtU6bL6g== X-CSE-MsgGUID: 4PDl5F1vRWGgl1mhaVv1Pw== X-IronPort-AV: E=McAfee;i="6700,10204,11350"; a="51808178" X-IronPort-AV: E=Sophos;i="6.13,301,1732608000"; d="scan'208";a="51808178" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Feb 2025 03:14:20 -0800 X-CSE-ConnectionGUID: OrSQdAKcSIOaFvnZy+c3lQ== X-CSE-MsgGUID: lyD6tTIsTXSazSsNgHKaMA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="114865280" Received: from crojewsk-ctrl.igk.intel.com ([10.237.149.254]) by orviesa010.jf.intel.com with ESMTP; 20 Feb 2025 03:14:18 -0800 From: Cezary Rojewski To: broonie@kernel.org Cc: tiwai@suse.com, perex@perex.cz, amadeuszx.slawinski@linux.intel.com, linux-sound@vger.kernel.org, oder_chiou@realtek.com, flove@realtek.com, andriy.shevchenko@linux.intel.com, Cezary Rojewski Subject: [PATCH 03/24] ASoC: codecs: rt1016: Fix definition of device_id tables Date: Thu, 20 Feb 2025 12:26:22 +0100 Message-Id: <20250220112643.3813295-4-cezary.rojewski@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20250220112643.3813295-1-cezary.rojewski@intel.com> References: <20250220112643.3813295-1-cezary.rojewski@intel.com> Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 There shall be no comma after the terminator entry and initializing fields with 0 for statically defined structs is redundant. Signed-off-by: Cezary Rojewski --- sound/soc/codecs/rt1016.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/soc/codecs/rt1016.c b/sound/soc/codecs/rt1016.c index fed4da23cba2..2cbeb06b15da 100644 --- a/sound/soc/codecs/rt1016.c +++ b/sound/soc/codecs/rt1016.c @@ -616,15 +616,15 @@ MODULE_DEVICE_TABLE(i2c, rt1016_i2c_id); #if defined(CONFIG_OF) static const struct of_device_id rt1016_of_match[] = { { .compatible = "realtek,rt1016", }, - {}, + {} }; MODULE_DEVICE_TABLE(of, rt1016_of_match); #endif #ifdef CONFIG_ACPI static const struct acpi_device_id rt1016_acpi_match[] = { - {"10EC1016", 0,}, - {}, + { "10EC1016" }, + {} }; MODULE_DEVICE_TABLE(acpi, rt1016_acpi_match); #endif From patchwork Thu Feb 20 11:26:23 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cezary Rojewski X-Patchwork-Id: 13983785 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4FEAC1F03FE for ; Thu, 20 Feb 2025 11:14:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050064; cv=none; b=COuaaIWoxBDTSxqqEmaE5JeRFCctRLmIV6DsglI3Jz06qzxsYiWW6Jj4EMBuZ+4kcQ7oKPA0Qe+pYamKLsbJwL35djecyOVkeQm5p3X0qPe4fNXsnEcpqZjkosfsbd8pAQYCkJkABbihTpDlw+g+QKDAL75QJYS43jCBkxnU8lE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050064; c=relaxed/simple; bh=p3GUbFav/XWtvWoYSNlwk/zQ2OQ5Vd+kRKb6gzjYt4E=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Xh5MomtBQ6eVZhYQ9zyzSVVh0nrVgw3CVZmF9JIKHLutgADSQJIcIV6VIDaNhVurgayzK8gwTA5oScPdhlNCQflO4mKQ+ITyVoISBXr8KcqSwdDYQzL4tv9px51KTbSt7FD1iiPrQ+V+dYyUDJ163qaGDCB+rWY/KwCvuaOzaBw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=Bu6fYmiY; arc=none smtp.client-ip=198.175.65.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Bu6fYmiY" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1740050063; x=1771586063; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=p3GUbFav/XWtvWoYSNlwk/zQ2OQ5Vd+kRKb6gzjYt4E=; b=Bu6fYmiYKCt6KUFgtDtmtF+ub6KQgCKxS52nFvEENN9ZVvCV+R4QmClj +248BGDw5RnpuQtIFSZLO1Lpn97wNkHZPKZ66bU7paOWn5qChanzAKgmK +Cu42zAL0VIUzlyacwuqf2KRot7EgpLFQhmXjpqGYJAjDqvn9wJTb1lFQ ej2nRmAb/3nLk2ZuAVRrXzffH/+SmAxUFNPeP4cxcvDgxekn6FLdLYvaD lnIwXc3bhggJzfUj70/TJ07WBzs1bfniaTgTbMb/YUAFRADvM6NK2L1uc UOCB9/mVoDzhcw1/Cdj/gQeUkOzV45tYPhOZTiuWgGSoLZKxzbZlroHps A==; X-CSE-ConnectionGUID: 0ZOETWTaQz+jLRG0YdfAXw== X-CSE-MsgGUID: zGasfYqqShC4vHraaGl8vg== X-IronPort-AV: E=McAfee;i="6700,10204,11350"; a="51808185" X-IronPort-AV: E=Sophos;i="6.13,301,1732608000"; d="scan'208";a="51808185" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Feb 2025 03:14:22 -0800 X-CSE-ConnectionGUID: 2Fs/CjWjQb+yvkrMDQtYcg== X-CSE-MsgGUID: B83pXgPFS1mnC64nAjvMUA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="114865288" Received: from crojewsk-ctrl.igk.intel.com ([10.237.149.254]) by orviesa010.jf.intel.com with ESMTP; 20 Feb 2025 03:14:20 -0800 From: Cezary Rojewski To: broonie@kernel.org Cc: tiwai@suse.com, perex@perex.cz, amadeuszx.slawinski@linux.intel.com, linux-sound@vger.kernel.org, oder_chiou@realtek.com, flove@realtek.com, andriy.shevchenko@linux.intel.com, Cezary Rojewski Subject: [PATCH 04/24] ASoC: codecs: rt1019: Fix definition of device_id tables Date: Thu, 20 Feb 2025 12:26:23 +0100 Message-Id: <20250220112643.3813295-5-cezary.rojewski@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20250220112643.3813295-1-cezary.rojewski@intel.com> References: <20250220112643.3813295-1-cezary.rojewski@intel.com> Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 There shall be no comma after the terminator entry and initializing fields with 0 for statically defined structs is redundant. Signed-off-by: Cezary Rojewski --- sound/soc/codecs/rt1019.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/soc/codecs/rt1019.c b/sound/soc/codecs/rt1019.c index d989d06a2614..2587e3742499 100644 --- a/sound/soc/codecs/rt1019.c +++ b/sound/soc/codecs/rt1019.c @@ -547,14 +547,14 @@ MODULE_DEVICE_TABLE(i2c, rt1019_i2c_id); static const struct of_device_id rt1019_of_match[] __maybe_unused = { { .compatible = "realtek,rt1019", }, - {}, + {} }; MODULE_DEVICE_TABLE(of, rt1019_of_match); #ifdef CONFIG_ACPI static const struct acpi_device_id rt1019_acpi_match[] = { - { "10EC1019", 0}, - { }, + { "10EC1019" }, + {} }; MODULE_DEVICE_TABLE(acpi, rt1019_acpi_match); #endif From patchwork Thu Feb 20 11:26:24 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cezary Rojewski X-Patchwork-Id: 13983786 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EDCE61EEA38 for ; Thu, 20 Feb 2025 11:14:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050067; cv=none; b=QxnkJahsbtqjbOyTTTAEkIeEZT058dXnbwzCjTitRn5fD95DhD0RsH7j2yu2OhjM0JiB5Y1gvCHDeSrO3ZM/NJP5A9zHgsXcueh8Ory203/ltHmQP9G/AmbTAU6DOqs8i1MHRyclMaTpBt330HdZpBHJXgSFWEuDor0jcQynEF4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050067; c=relaxed/simple; bh=Rz8BS7cGg5pxytOcGDA9W9UYvvxmmEV5t4j33Ks3AWU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=nwHNX6skiF6rdz57CjEVvmP/JiMZpjNxblCJsNm4V/tTkAyzdwwCoJ8nlXGMJGWu7Qse7a+t0rUF2gEUdnq3Kcp0QTb+tRvE+dDdfPDtEcF2Q8GMAbzMiYA28yKw+1ASm+FxabE53PWnr51QShjZvyicK9hbndAgWCjfJVU8aaA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=JHg9oZUl; arc=none smtp.client-ip=198.175.65.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="JHg9oZUl" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1740050066; x=1771586066; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Rz8BS7cGg5pxytOcGDA9W9UYvvxmmEV5t4j33Ks3AWU=; b=JHg9oZUliOZsJcVGN2hZqfyaUvoKdo7klYWPKreJzOXbL+7wwhm83RjO GfClH8Gn2y51uSBvsNR2sTlcsKUC2j6de9RnPVJ6uhTlEM/Laj/a24suE pCbMLQmCMsJLcoaVfOPwyRlj3zOYL9M2fR67LQiEw90WcTzIDPn8HtK/I 9T5Y5ahx5FbSVlEQ/nARKTnpBme7RwLSgtFytMuQyUVpAhRwlt8SBbHFT XB708IKW7UZQnWD3CEud6bzmT1+J8O7y95zLMjxGVzgFBsswWj5xV3NmG ICimnajVoAAJ29/WpLqgr6V5hG9MJXjdhGnIMlMKV3zqSm/wnYLd8kSBT A==; X-CSE-ConnectionGUID: 8Ut7WqooRtC02+zm21RnZg== X-CSE-MsgGUID: b+6lDXJAQwiLGGTUyb0fZA== X-IronPort-AV: E=McAfee;i="6700,10204,11350"; a="51808191" X-IronPort-AV: E=Sophos;i="6.13,301,1732608000"; d="scan'208";a="51808191" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Feb 2025 03:14:25 -0800 X-CSE-ConnectionGUID: 4uP7kg8hSTeb3YC2sV8JWA== X-CSE-MsgGUID: qBi4I8BYT3SZERJRvQ0R4A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="114865295" Received: from crojewsk-ctrl.igk.intel.com ([10.237.149.254]) by orviesa010.jf.intel.com with ESMTP; 20 Feb 2025 03:14:22 -0800 From: Cezary Rojewski To: broonie@kernel.org Cc: tiwai@suse.com, perex@perex.cz, amadeuszx.slawinski@linux.intel.com, linux-sound@vger.kernel.org, oder_chiou@realtek.com, flove@realtek.com, andriy.shevchenko@linux.intel.com, Cezary Rojewski Subject: [PATCH 05/24] ASoC: codecs: rt1305: Fix definition of device_id tables Date: Thu, 20 Feb 2025 12:26:24 +0100 Message-Id: <20250220112643.3813295-6-cezary.rojewski@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20250220112643.3813295-1-cezary.rojewski@intel.com> References: <20250220112643.3813295-1-cezary.rojewski@intel.com> Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 There shall be no comma after the terminator entry and initializing fields with 0 for statically defined structs is redundant. Signed-off-by: Cezary Rojewski --- sound/soc/codecs/rt1305.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/soc/codecs/rt1305.c b/sound/soc/codecs/rt1305.c index c2b55be8d165..b4e10ba00dca 100644 --- a/sound/soc/codecs/rt1305.c +++ b/sound/soc/codecs/rt1305.c @@ -973,9 +973,9 @@ MODULE_DEVICE_TABLE(of, rt1305_of_match); #ifdef CONFIG_ACPI static const struct acpi_device_id rt1305_acpi_match[] = { - {"10EC1305", 0,}, - {"10EC1306", 0,}, - {}, + { "10EC1305" }, + { "10EC1306" }, + {} }; MODULE_DEVICE_TABLE(acpi, rt1305_acpi_match); #endif From patchwork Thu Feb 20 11:26:25 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cezary Rojewski X-Patchwork-Id: 13983787 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F3BD51EF096 for ; Thu, 20 Feb 2025 11:14:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050069; cv=none; b=h5+9YcZAwe0QFZQCiSmK9awCbIO0ZbTelXhPlCumPRCWgxev+ZmkDccb4fDNgpo9UqCrfWlvCjU57JeUWYsptCNK0vvs+pSfghDNSy3p3eBgBOoq8FRU0ksVOG/CgwziTYvkR14Gt4SmePAdcfww8/V/HEAuxE/V+5zRjxCJKMI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050069; c=relaxed/simple; bh=TzfOFkI/7l77pMLio/uIkIjJg4iSW+3uLVMbDOi61VE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=GTt/tRheWD8FX7x+1+ysQAUTvXI3zJFH+AU5bkCzBop+I12blj0/fF7fHMyRpxYLDpQ06XPYFhsZ7jFZmLeaCKxwMj8locWZGrrXYUo3I4sV/ZWcMz1zuR49MbMO6u/luMpX4uOWVWHQlfBG1z13RrBYAqqvSRmRsRDXbdV/Hm0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=KMk5af76; arc=none smtp.client-ip=198.175.65.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="KMk5af76" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1740050068; x=1771586068; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=TzfOFkI/7l77pMLio/uIkIjJg4iSW+3uLVMbDOi61VE=; b=KMk5af76TfTvmF3nq2koEkb122e3grr4R14dkQ44CjuMmCBPcDK5bCXJ 9VgCpP4eskvcZPTF8AX/pyl6NTdo4JTT+/4FffkNhVFvTB6SgDJaNJ98e 8rD/Dm4sRtsa/akExm2fKpS7y4QkgO0d86MwXGVrdW6+6xtMFGLQfBcrv fat7zCtVJhZI4QVEAnV4XIiK82y625j5LsQD8QAu3bDaonsDhVwPQQNrd gkMxNv69gPZY8KwnKDTsLkdMEeF9xUgndHXoOcNg0v9Qf7e42ZGKk0UKG qM1CXQRsD2bF/SxT+mILBEnRe1AoRQ+w2bfrYu76+3WaDrkIlqAHxBrE3 A==; X-CSE-ConnectionGUID: oG4eGvQjQNOYeX15bSqc4Q== X-CSE-MsgGUID: TpALItR3QDeHz2/Mh9Kc2Q== X-IronPort-AV: E=McAfee;i="6700,10204,11350"; a="51808208" X-IronPort-AV: E=Sophos;i="6.13,301,1732608000"; d="scan'208";a="51808208" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Feb 2025 03:14:27 -0800 X-CSE-ConnectionGUID: GS7K3JvYQ3OSxPrxKVQi3Q== X-CSE-MsgGUID: l1Q+j2n4Q1K5NvlCrnRw7g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="114865304" Received: from crojewsk-ctrl.igk.intel.com ([10.237.149.254]) by orviesa010.jf.intel.com with ESMTP; 20 Feb 2025 03:14:25 -0800 From: Cezary Rojewski To: broonie@kernel.org Cc: tiwai@suse.com, perex@perex.cz, amadeuszx.slawinski@linux.intel.com, linux-sound@vger.kernel.org, oder_chiou@realtek.com, flove@realtek.com, andriy.shevchenko@linux.intel.com, Cezary Rojewski Subject: [PATCH 06/24] ASoC: codecs: rt1308: Fix definition of device_id tables Date: Thu, 20 Feb 2025 12:26:25 +0100 Message-Id: <20250220112643.3813295-7-cezary.rojewski@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20250220112643.3813295-1-cezary.rojewski@intel.com> References: <20250220112643.3813295-1-cezary.rojewski@intel.com> Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 There shall be no comma after the terminator entry and initializing fields with 0 for statically defined structs is redundant. Signed-off-by: Cezary Rojewski --- sound/soc/codecs/rt1308.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/soc/codecs/rt1308.c b/sound/soc/codecs/rt1308.c index b366338cea71..a9ba66228301 100644 --- a/sound/soc/codecs/rt1308.c +++ b/sound/soc/codecs/rt1308.c @@ -781,15 +781,15 @@ static const struct regmap_config rt1308_regmap = { #ifdef CONFIG_OF static const struct of_device_id rt1308_of_match[] = { { .compatible = "realtek,rt1308", }, - { }, + { } }; MODULE_DEVICE_TABLE(of, rt1308_of_match); #endif #ifdef CONFIG_ACPI static const struct acpi_device_id rt1308_acpi_match[] = { - { "10EC1308", 0, }, - { }, + { "10EC1308" }, + {} }; MODULE_DEVICE_TABLE(acpi, rt1308_acpi_match); #endif From patchwork Thu Feb 20 11:26:26 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cezary Rojewski X-Patchwork-Id: 13983788 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A307A1F0E3C for ; Thu, 20 Feb 2025 11:14:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050071; cv=none; b=MdY4TjrxM2c8Hs4jEXdUlhyLL3Nqd8WR0fCRfqIs+AlNpBu6PZROClhdjrnYD6oB93tag9oD+IhJzBeX7CYlBWgxZuclpP85Z5wLd2F70cVT3dj6R5vEh/T8j3D0fKs1a2pScD0EaSCNnEpT+3MLTS3SPV9X5VFzc/EOpdYc0r0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050071; c=relaxed/simple; bh=ufwt+KKwfS0agpTkyBn+NBjZnntxP36qrYVSUdBTffk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=VDLa+SRTNR2dqU+joP3J1MyL9kPOpicK+wzPJ/UtYYo/Jm38WN9vK0D+V7xgShvSjWAUlWO2ontm5iRneUiaLd4CWgIMzc8K3vMXOMeW3F73kD5wyTZmIMIfUEPodJJS+dk0c4dMQEYSH3UttGEOG9RXFdh8M9U/wAjS1P7jSoU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=R/iyqwO7; arc=none smtp.client-ip=198.175.65.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="R/iyqwO7" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1740050070; x=1771586070; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ufwt+KKwfS0agpTkyBn+NBjZnntxP36qrYVSUdBTffk=; b=R/iyqwO7WvQyp95PZ6ms3PF0qZg5uUYSzVspCqJO+PqowUkW7VwCktnO 2Geodx4fiHotrUeeh0SqIA0rlGmVg3mLWZ6thtYXcS/gw4YUHYHi8uod4 4yWSD5bz22dDFJ2s1uny42lBbLhP2QKujJ1whkJlQjcEHIw9zoL9aKBs7 AYaa2CjzFKo7yU/DgWnFmUAdlUCjqSb1sosYVio2waiMPVhlq/nBvhuDV Pv3Ur2q1UpB3bzF359v2utnCq4Cv3z42f+uFohOvrO9kF3/QqnykMSyTh lVlnp/eD0u2JSDQsiuSAL2bGn1hDe0SY7bmgMY0xGyJ2BknCOpKRhqr24 w==; X-CSE-ConnectionGUID: M4m3k02OQRCWrAYu0M96XQ== X-CSE-MsgGUID: 7QTGOgI6Q2elB0jqSN7QWw== X-IronPort-AV: E=McAfee;i="6700,10204,11350"; a="51808220" X-IronPort-AV: E=Sophos;i="6.13,301,1732608000"; d="scan'208";a="51808220" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Feb 2025 03:14:29 -0800 X-CSE-ConnectionGUID: eHkvooP8Qq2r2wgBOsj3ww== X-CSE-MsgGUID: RkJc98RiT+yLUdbWhyEodA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="114865309" Received: from crojewsk-ctrl.igk.intel.com ([10.237.149.254]) by orviesa010.jf.intel.com with ESMTP; 20 Feb 2025 03:14:27 -0800 From: Cezary Rojewski To: broonie@kernel.org Cc: tiwai@suse.com, perex@perex.cz, amadeuszx.slawinski@linux.intel.com, linux-sound@vger.kernel.org, oder_chiou@realtek.com, flove@realtek.com, andriy.shevchenko@linux.intel.com, Cezary Rojewski Subject: [PATCH 07/24] ASoC: codecs: rt1318: Fix definition of device_id tables Date: Thu, 20 Feb 2025 12:26:26 +0100 Message-Id: <20250220112643.3813295-8-cezary.rojewski@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20250220112643.3813295-1-cezary.rojewski@intel.com> References: <20250220112643.3813295-1-cezary.rojewski@intel.com> Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 There shall be no comma after the terminator entry and initializing fields with 0 for statically defined structs is redundant. Signed-off-by: Cezary Rojewski --- sound/soc/codecs/rt1318.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/soc/codecs/rt1318.c b/sound/soc/codecs/rt1318.c index e12b1e96a53a..69cd32acbe7c 100644 --- a/sound/soc/codecs/rt1318.c +++ b/sound/soc/codecs/rt1318.c @@ -1147,14 +1147,14 @@ MODULE_DEVICE_TABLE(i2c, rt1318_i2c_id); static const struct of_device_id rt1318_of_match[] = { { .compatible = "realtek,rt1318", }, - {}, + {} }; MODULE_DEVICE_TABLE(of, rt1318_of_match); #ifdef CONFIG_ACPI static const struct acpi_device_id rt1318_acpi_match[] = { - { "10EC1318", 0}, - { }, + { "10EC1318" }, + {} }; MODULE_DEVICE_TABLE(acpi, rt1318_acpi_match); #endif From patchwork Thu Feb 20 11:26:27 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cezary Rojewski X-Patchwork-Id: 13983789 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0DDAF1F03ED for ; Thu, 20 Feb 2025 11:14:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050073; cv=none; b=cBEoBUhpjmZbc7hk9kV6JP8gef5mG7p0OMp83byue5DOcVcQ0oi+WP8MBUAfMWUgiVY5p7drpryR9kjtMH5IC67NE49wSjDMIEfZOMvW0GtwDu9J4F8x4az/NbPphjegBkp0fCfop+k6HffdXKcE2Y5yCROGuFhzjJLwi5P+Y/4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050073; c=relaxed/simple; bh=/FJ6/ysdao8PLmQWH6B3kyoaUZ6IBK+6T15QQpScSv4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=KAxC1UH0dcArb3dTsoSI8VtQRGZE6KDNpmGH6EZyo1b4JcOvqJoO9eJLFkdb/dXVyb4l6Bx7eHOS9FSfetwuDJ2EEeHD6TuTzQXwJS6hLBteuneP4Hgx21cd/d3epOSTNqQVX0Qju+JlEEuueIOB/q1tDfmiIzFeIn1rlLZfqWE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=cX7Dw1bE; arc=none smtp.client-ip=198.175.65.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="cX7Dw1bE" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1740050072; x=1771586072; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=/FJ6/ysdao8PLmQWH6B3kyoaUZ6IBK+6T15QQpScSv4=; b=cX7Dw1bEkwvDmZ4Toljpvr1JQgzxhjIXj4RR0Ac/81CcGDc0o8/Nxr7x TghRdm6myZ5a8dKboV2L5bJn8LAqdD8EJ3Anu8lcQ2AkDqeGo5MJALy/8 taTC8BcJs0UPvmODoHbXY8rKZtX1NO7tSzYRgdqMn2gcSwmE5WXmrlo6q t4TrFaKwTOMxvKPGe1wg5k3ws851WhjPNly4U1/tjNIAXBgK/O1Mf45c2 7w1vT6ecqrhzXpuiIwDIiAc+zX0RmSQEEBLMFKISjnE7u7D35Ue5G8Rcx flQqW3OL4Mfcg9FIQzcu6y8/AlgiJp1EqUE5kESGPbjuLbSn6NG0aOT8x A==; X-CSE-ConnectionGUID: SvodUsIYSpSi5JaAG+3mMQ== X-CSE-MsgGUID: eNdJec9aRN6emnLck92a4Q== X-IronPort-AV: E=McAfee;i="6700,10204,11350"; a="51808230" X-IronPort-AV: E=Sophos;i="6.13,301,1732608000"; d="scan'208";a="51808230" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Feb 2025 03:14:32 -0800 X-CSE-ConnectionGUID: RVXvz1+KQpOkwI/S2zrROQ== X-CSE-MsgGUID: uycSZ0FZTGCC4h5AUUR7Xg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="114865317" Received: from crojewsk-ctrl.igk.intel.com ([10.237.149.254]) by orviesa010.jf.intel.com with ESMTP; 20 Feb 2025 03:14:30 -0800 From: Cezary Rojewski To: broonie@kernel.org Cc: tiwai@suse.com, perex@perex.cz, amadeuszx.slawinski@linux.intel.com, linux-sound@vger.kernel.org, oder_chiou@realtek.com, flove@realtek.com, andriy.shevchenko@linux.intel.com, Cezary Rojewski Subject: [PATCH 08/24] ASoC: codecs: rt274: Fix definition of device_id tables Date: Thu, 20 Feb 2025 12:26:27 +0100 Message-Id: <20250220112643.3813295-9-cezary.rojewski@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20250220112643.3813295-1-cezary.rojewski@intel.com> References: <20250220112643.3813295-1-cezary.rojewski@intel.com> Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 There shall be no comma after the terminator entry and initializing fields with 0 for statically defined structs is redundant. Signed-off-by: Cezary Rojewski --- sound/soc/codecs/rt274.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sound/soc/codecs/rt274.c b/sound/soc/codecs/rt274.c index bd61a257d7b5..15bbd920fda2 100644 --- a/sound/soc/codecs/rt274.c +++ b/sound/soc/codecs/rt274.c @@ -1091,7 +1091,7 @@ static const struct regmap_config rt274_regmap = { #ifdef CONFIG_OF static const struct of_device_id rt274_of_match[] = { {.compatible = "realtek,rt274"}, - {}, + {} }; MODULE_DEVICE_TABLE(of, rt274_of_match); #endif @@ -1104,9 +1104,9 @@ MODULE_DEVICE_TABLE(i2c, rt274_i2c_id); #ifdef CONFIG_ACPI static const struct acpi_device_id rt274_acpi_match[] = { - { "10EC0274", 0 }, - { "INT34C2", 0 }, - {}, + { "10EC0274" }, + { "INT34C2" }, + {} }; MODULE_DEVICE_TABLE(acpi, rt274_acpi_match); #endif From patchwork Thu Feb 20 11:26:28 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cezary Rojewski X-Patchwork-Id: 13983790 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 75D501F0E2D for ; Thu, 20 Feb 2025 11:14:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050075; cv=none; b=bOSkWHABniF7oEO1W3cwbTqLIvUYg3GG25EwAYjNNWhp2kZZJaldrTZn10uSJb96ooPSQ2w2NYCg6K1PWRmrf8hneelUOwvoRz0/TlNwn9hbSoVJs72C6qiZyACXbuB8FoNKi1MH06Xq9szfoDOTokDuepezxZFv6Db0Baw+gI4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050075; c=relaxed/simple; bh=5mdVbk3ShjAm2uuV99hD3bLJYXMjh+WuU4x7wUeKbsQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=eJYqO3XYmRJrKG/VW1rGRHGXeM/jxpr/VbJ6piVK33cKUojEjEvjJzCPHCvvLk3bd/ypaFCJIHKLSzIvYbiRqYBbftJJUeEn48SQqx2y1KP9HuMIaWi7oIJsn8psWVLBTIwwLERv6TKJ+i03gYbY+2+Ts0OhyM+J9Wk6Adh493Y= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=UISmcu3N; arc=none smtp.client-ip=198.175.65.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="UISmcu3N" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1740050074; x=1771586074; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=5mdVbk3ShjAm2uuV99hD3bLJYXMjh+WuU4x7wUeKbsQ=; b=UISmcu3NW0ouKpT/j2ARhGiOYd3XqeSVYy6YbkS9hBMqFqyIZzUbsKlN Ccr3fQy6t5T1SscApLJ0RPx5Qg/OxQ2QBJePqNuzwo9E17L2n+3LXBRig glDgUvItVLNKte9EsRqVyFlDr3nnygh3OHVg75e4cA90AWvFWrE7Gq0ZT Jh+99lT0lx8dmmEQsmhMBf1z2RMZ1Saumm02Tc+GOCEIvS8cpnBpcpO9v RBWj7ZqApF/IuxoV/WgcNjMKw7XVAsnQQLKC8Z7Z7B7Za6lzuE/jcME1O brn9syfCQ5UquZwBXeaFkQzvXT7MnzUELMJTNHGL+A+yAYM9ErFTgb/+S w==; X-CSE-ConnectionGUID: sAD01FKOQ6OSE2aUb2KBFw== X-CSE-MsgGUID: PQWLQJC/TkmUjsOPVBq68w== X-IronPort-AV: E=McAfee;i="6700,10204,11350"; a="51808240" X-IronPort-AV: E=Sophos;i="6.13,301,1732608000"; d="scan'208";a="51808240" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Feb 2025 03:14:34 -0800 X-CSE-ConnectionGUID: ZJOkK2kwQNqEWSMBxQJLMQ== X-CSE-MsgGUID: pW5f2uZpSDiexrBhApT6NA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="114865329" Received: from crojewsk-ctrl.igk.intel.com ([10.237.149.254]) by orviesa010.jf.intel.com with ESMTP; 20 Feb 2025 03:14:32 -0800 From: Cezary Rojewski To: broonie@kernel.org Cc: tiwai@suse.com, perex@perex.cz, amadeuszx.slawinski@linux.intel.com, linux-sound@vger.kernel.org, oder_chiou@realtek.com, flove@realtek.com, andriy.shevchenko@linux.intel.com, Cezary Rojewski Subject: [PATCH 09/24] ASoC: codecs: rt5514: Fix definition of device_id tables Date: Thu, 20 Feb 2025 12:26:28 +0100 Message-Id: <20250220112643.3813295-10-cezary.rojewski@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20250220112643.3813295-1-cezary.rojewski@intel.com> References: <20250220112643.3813295-1-cezary.rojewski@intel.com> Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 There shall be no comma after the terminator entry and initializing fields with 0 for statically defined structs is redundant. Signed-off-by: Cezary Rojewski --- sound/soc/codecs/rt5514.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/soc/codecs/rt5514.c b/sound/soc/codecs/rt5514.c index 2b3c0f9e178c..69141a5773bb 100644 --- a/sound/soc/codecs/rt5514.c +++ b/sound/soc/codecs/rt5514.c @@ -1207,15 +1207,15 @@ MODULE_DEVICE_TABLE(i2c, rt5514_i2c_id); #if defined(CONFIG_OF) static const struct of_device_id rt5514_of_match[] = { { .compatible = "realtek,rt5514", }, - {}, + {} }; MODULE_DEVICE_TABLE(of, rt5514_of_match); #endif #ifdef CONFIG_ACPI static const struct acpi_device_id rt5514_acpi_match[] = { - { "10EC5514", 0}, - {}, + { "10EC5514" }, + {} }; MODULE_DEVICE_TABLE(acpi, rt5514_acpi_match); #endif From patchwork Thu Feb 20 11:26:29 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cezary Rojewski X-Patchwork-Id: 13983791 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D6E201F0E2D for ; Thu, 20 Feb 2025 11:14:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050078; cv=none; b=RaSOiCSeLQgB/LiBcD74zEuoHeHKFbMrf3I6xvU94OtHco826zxElCwKn9gbPbLH+jCO8cU/NGcIKCgasNC+uprqkUt5kBx9mYpzVP6qlu5rFy6mxbm3kYQ/t7nwW6ONcN8nqFuU9LBYYKcgNr4UVwvunobjXmhxUfjQ2vRslJk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050078; c=relaxed/simple; bh=wG4RVmzgwUU3nqVokEQE8TaNS9iDW6tFc/8ipi7/Sgo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=rpA6RGOUTTvhrVfddNp8iqB0d1i+ZpKT6jy3B2iq9k9CFLa+BqDAHWuzwonXo+MdZe8JazNcYz/rKyLJGWUOLinpbfGGQ/f8wD009fossHwfvg7V2gzisgdmotJZK7OR1VsGlGFtr0DkFs7u0ayFbmWL+QVqmivkoPKcMt+XS80= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=OEskjUWa; arc=none smtp.client-ip=198.175.65.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="OEskjUWa" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1740050077; x=1771586077; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=wG4RVmzgwUU3nqVokEQE8TaNS9iDW6tFc/8ipi7/Sgo=; b=OEskjUWaEzILyqtp8pPWT3E3zzQPmH61sERr+dD3aUZZmxd85mIObDvi g9Rj1rn73B0NAdNJx11xKj9XMbM1GaA68h/rnY7A+g9mwTqYkg55Maiox fZ9J9ob01Jhxxl+6Z/L9VubduBuWKhESaGNKH9ntbN4rKAy6p7G0oCn/L ViRo0fQIKkqWqgLP6K2Nfce6Zt4/t9c2uZVsoIiLKMtMw0DNsb6bR1C4O pubVtpswoyKISVstZD+l7k1AHEiV/MJHqZdHiKRpjItUDQSyTlslGcmKL Sr7E1r4bcPwR4QB/oDum7LgeXEBanejNCiF9viEY67lJMm6YT69DnLnB7 w==; X-CSE-ConnectionGUID: F0ZwLv3ATyGIvxTQ4qr1Og== X-CSE-MsgGUID: hplGqsbRRbiY7UBCF2y82g== X-IronPort-AV: E=McAfee;i="6700,10204,11350"; a="51808249" X-IronPort-AV: E=Sophos;i="6.13,301,1732608000"; d="scan'208";a="51808249" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Feb 2025 03:14:37 -0800 X-CSE-ConnectionGUID: NTX2CZfzTWi0JTNbTBI54w== X-CSE-MsgGUID: GpEVt6B/SuSSAOY5xxQIPw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="114865337" Received: from crojewsk-ctrl.igk.intel.com ([10.237.149.254]) by orviesa010.jf.intel.com with ESMTP; 20 Feb 2025 03:14:34 -0800 From: Cezary Rojewski To: broonie@kernel.org Cc: tiwai@suse.com, perex@perex.cz, amadeuszx.slawinski@linux.intel.com, linux-sound@vger.kernel.org, oder_chiou@realtek.com, flove@realtek.com, andriy.shevchenko@linux.intel.com, Cezary Rojewski Subject: [PATCH 10/24] ASoC: codecs: rt5640: Fix definition of device_id tables Date: Thu, 20 Feb 2025 12:26:29 +0100 Message-Id: <20250220112643.3813295-11-cezary.rojewski@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20250220112643.3813295-1-cezary.rojewski@intel.com> References: <20250220112643.3813295-1-cezary.rojewski@intel.com> Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 There shall be no comma after the terminator entry and initializing fields with 0 for statically defined structs is redundant. Signed-off-by: Cezary Rojewski --- sound/soc/codecs/rt5640.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/sound/soc/codecs/rt5640.c b/sound/soc/codecs/rt5640.c index 82db9dceddb6..d41c9df353d2 100644 --- a/sound/soc/codecs/rt5640.c +++ b/sound/soc/codecs/rt5640.c @@ -2963,19 +2963,19 @@ MODULE_DEVICE_TABLE(i2c, rt5640_i2c_id); static const struct of_device_id rt5640_of_match[] = { { .compatible = "realtek,rt5639", }, { .compatible = "realtek,rt5640", }, - {}, + {} }; MODULE_DEVICE_TABLE(of, rt5640_of_match); #endif #ifdef CONFIG_ACPI static const struct acpi_device_id rt5640_acpi_match[] = { - { "INT33CA", 0 }, - { "10EC3276", 0 }, - { "10EC5640", 0 }, - { "10EC5642", 0 }, - { "INTCCFFD", 0 }, - { }, + { "INT33CA" }, + { "10EC3276" }, + { "10EC5640" }, + { "10EC5642" }, + { "INTCCFFD" }, + {} }; MODULE_DEVICE_TABLE(acpi, rt5640_acpi_match); #endif From patchwork Thu Feb 20 11:26:30 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cezary Rojewski X-Patchwork-Id: 13983792 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 557DB1F0E2D for ; Thu, 20 Feb 2025 11:14:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050080; cv=none; b=m581L41VOt6Owu/pBKHr3lV85AudwrtzdOVm8DKEoU/MZYv+ppePugHgEO+n7iUQIMmXyp7a+naQdkj6yUETQyyWzBXFQqWmO5tQK5s6m5dCeLdbbtFK6R0ey+s0Pz1K9M3DrYwJk8ZVl2kBsLrSq/Zo84JWffHHGw2YhpekLFw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050080; c=relaxed/simple; bh=/4qQSnRdBE+zmVNUUV0exPgTU9n/HYHCvtaWWXWQIMM=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=jLP7KajZ0ViagXeA+6zsQ+lHISJ23WRe9bNIlhgQKIAlxUxpN4O2oUW2y0ynagZpkhnKerraNkDIm5yKiLAPVxeLZ0zFDnqgw/IH1VkHdjVSlw//tOoUK8rZnMyDuOCwkbJDsa4z3pEdJmQ+4MP0hkrsixp1+m6ie16OkurYybI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=K9wZXbim; arc=none smtp.client-ip=198.175.65.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="K9wZXbim" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1740050079; x=1771586079; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=/4qQSnRdBE+zmVNUUV0exPgTU9n/HYHCvtaWWXWQIMM=; b=K9wZXbim8Ux0SPKp0RT0skFBNXgMaV+PT8FUDbKR206czhsdkDY+yZRx Zx18cxdnA1bIstj9P5QEnqjMHanMveYxgy88Mv/i4CgZLYCfaX+h5uukw uPYSTX2OyGD4bV4nvIOqqOATTEOydGSdzs6kC9OA8AW+Y1WwZ1Rym2h0k JoBZWqdo+EPotNajOqtg75KWXCq/lqjBNP3pAn9iSZmyLQfDOl+pCZnpr b3/FdjNsHiv8E8UEP6OrGprWH1b4ExVbnjjDz6P+4JuqeJVtV8P2EQu83 zW1JMYWQrN55S5ZMUkUbrCA77Ric8VKU4GA2zuSi5TFUeKQDHaxr5QuGo Q==; X-CSE-ConnectionGUID: AoQWGRlyTl6yrcison8Vtw== X-CSE-MsgGUID: M3ItfU2RTyeTI+fxPTv+2A== X-IronPort-AV: E=McAfee;i="6700,10204,11350"; a="51808255" X-IronPort-AV: E=Sophos;i="6.13,301,1732608000"; d="scan'208";a="51808255" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Feb 2025 03:14:39 -0800 X-CSE-ConnectionGUID: Hrv6bYi+SVi3KIGzwyEM3g== X-CSE-MsgGUID: IacfpFqPRRagP9O9OSHn+A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="114865349" Received: from crojewsk-ctrl.igk.intel.com ([10.237.149.254]) by orviesa010.jf.intel.com with ESMTP; 20 Feb 2025 03:14:37 -0800 From: Cezary Rojewski To: broonie@kernel.org Cc: tiwai@suse.com, perex@perex.cz, amadeuszx.slawinski@linux.intel.com, linux-sound@vger.kernel.org, oder_chiou@realtek.com, flove@realtek.com, andriy.shevchenko@linux.intel.com, Cezary Rojewski Subject: [PATCH 11/24] ASoC: codecs: rt5645: Fix definition of device_id tables Date: Thu, 20 Feb 2025 12:26:30 +0100 Message-Id: <20250220112643.3813295-12-cezary.rojewski@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20250220112643.3813295-1-cezary.rojewski@intel.com> References: <20250220112643.3813295-1-cezary.rojewski@intel.com> Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 There shall be no comma after the terminator entry and initializing fields with 0 for statically defined structs is redundant. Signed-off-by: Cezary Rojewski --- sound/soc/codecs/rt5645.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c index 51187b1e0ed2..794a81be6ef7 100644 --- a/sound/soc/codecs/rt5645.c +++ b/sound/soc/codecs/rt5645.c @@ -3660,12 +3660,12 @@ MODULE_DEVICE_TABLE(of, rt5645_of_match); #ifdef CONFIG_ACPI static const struct acpi_device_id rt5645_acpi_match[] = { - { "10EC5645", 0 }, - { "10EC5648", 0 }, - { "10EC5650", 0 }, - { "10EC5640", 0 }, - { "10EC3270", 0 }, - {}, + { "10EC5645" }, + { "10EC5648" }, + { "10EC5650" }, + { "10EC5640" }, + { "10EC3270" }, + {} }; MODULE_DEVICE_TABLE(acpi, rt5645_acpi_match); #endif From patchwork Thu Feb 20 11:26:31 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cezary Rojewski X-Patchwork-Id: 13983793 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B85B01F0E2D for ; Thu, 20 Feb 2025 11:14:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050083; cv=none; b=isFdsYnOT5JHucwA+mTLuRaWs2N08GKvUVhHcQb24dCHn9MUsIrEVhWJtCa9oidrI42o6+Hvm0ltAVb349QO+7QeGFk7tcFj+ddpm7Jq5Ku2P7YasRNvGRzpXeCz0Ov0z+SDQH7rzDjxl235gQh3NH06OFgR7KuCl4rfWCPMaSQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050083; c=relaxed/simple; bh=3PlstzKzN0fhS4dVIUbGcwyykV9PPM4FoTTHW6shm3c=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=EBEQwHjY+MkBYdsAnDFCfGbCspsWEn6HbhitwaoLnyQQcoYjbgSHSsUhhnuoQe52f/bxNEaqTJpmT9IWPcVwat+UhUUrSU+nAJX/svakZ9HP1RFPzHeNuje0fU0WtviT69Ft9RLnI+RFSRMxQYHhwRwH08umZ1JDSvue16/3K04= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=l/L0f85/; arc=none smtp.client-ip=198.175.65.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="l/L0f85/" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1740050082; x=1771586082; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=3PlstzKzN0fhS4dVIUbGcwyykV9PPM4FoTTHW6shm3c=; b=l/L0f85/GpspfZ+IEWEsCsoGES0Ek1l4aJtwx7YNhdL97Lz4Iogxmb9L exq9sy1viRadhGkEMsSa0/aPkYLbqbt7YfrfwtV13sV06414BYej0nPX5 4sR2EaeauK3Z1Tzt3JszliSZ06rwzt89wE9mytB+wlGIC7RN7tprxtQnJ zKniC4dlXKmVQjuf13J0iih3OcBR8yQLt9D1GzkE67FQX+qRz2wMe1Y6z s8GC2e/U7v6k1PCNfpGiEPwSoQzAiPh5CSPWLQeZW2MgvYH974LaE2WNG GEg8oQbfexDTLlBpYsc2Ok/15ARPJMbJcFdh5SO8+emAdDdcK2aJPrQhk g==; X-CSE-ConnectionGUID: hn0intYPQ3uPPjFIfHlugg== X-CSE-MsgGUID: 6xkoRl0SQ4GeUeyJhzJbEw== X-IronPort-AV: E=McAfee;i="6700,10204,11350"; a="51808263" X-IronPort-AV: E=Sophos;i="6.13,301,1732608000"; d="scan'208";a="51808263" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Feb 2025 03:14:42 -0800 X-CSE-ConnectionGUID: x3XesA05Qyiub9yujh5x1Q== X-CSE-MsgGUID: xOHVb9kMTQGTvaOsKvh6xg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="114865355" Received: from crojewsk-ctrl.igk.intel.com ([10.237.149.254]) by orviesa010.jf.intel.com with ESMTP; 20 Feb 2025 03:14:39 -0800 From: Cezary Rojewski To: broonie@kernel.org Cc: tiwai@suse.com, perex@perex.cz, amadeuszx.slawinski@linux.intel.com, linux-sound@vger.kernel.org, oder_chiou@realtek.com, flove@realtek.com, andriy.shevchenko@linux.intel.com, Cezary Rojewski Subject: [PATCH 12/24] ASoC: codecs: rt5651: Fix definition of device_id tables Date: Thu, 20 Feb 2025 12:26:31 +0100 Message-Id: <20250220112643.3813295-13-cezary.rojewski@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20250220112643.3813295-1-cezary.rojewski@intel.com> References: <20250220112643.3813295-1-cezary.rojewski@intel.com> Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 There shall be no comma after the terminator entry and initializing fields with 0 for statically defined structs is redundant. Signed-off-by: Cezary Rojewski --- sound/soc/codecs/rt5651.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sound/soc/codecs/rt5651.c b/sound/soc/codecs/rt5651.c index 00421a1f54bf..a4ea6c47617a 100644 --- a/sound/soc/codecs/rt5651.c +++ b/sound/soc/codecs/rt5651.c @@ -2184,16 +2184,16 @@ static const struct regmap_config rt5651_regmap = { #if defined(CONFIG_OF) static const struct of_device_id rt5651_of_match[] = { { .compatible = "realtek,rt5651", }, - {}, + {} }; MODULE_DEVICE_TABLE(of, rt5651_of_match); #endif #ifdef CONFIG_ACPI static const struct acpi_device_id rt5651_acpi_match[] = { - { "10EC5651", 0 }, - { "10EC5640", 0 }, - { }, + { "10EC5651" }, + { "10EC5640" }, + {} }; MODULE_DEVICE_TABLE(acpi, rt5651_acpi_match); #endif From patchwork Thu Feb 20 11:26:32 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cezary Rojewski X-Patchwork-Id: 13983794 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4CD3A1F0E2D for ; Thu, 20 Feb 2025 11:14:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050085; cv=none; b=EvxzANjgwfFFtOQyZ1UBh5E2fTIuj0WyYAg7WN9PSkuJT7hZtpWES1H3JBNEhyurSW14MXTbh0sTcHyXZd1wqeFzbw7GGaHzrGlE4HHQEu2uVDt6EzcaTMbEmZyNvVxTZhYTlIrUssgZyGmf3AwguvriAqog5RW5dNmd6Ai3eq4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050085; c=relaxed/simple; bh=+jS1jTMF6DZbZYivvOgteWsi/c1rwgo9K4n8AknT+bw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=gJcW4OOg/Kgmv0ESY6SMg3iZO/EL6sqNqYXpYedOMsEYjgIzqwGOBjrz5HlupZJyG/dpDF+c96g4vcLM9IcSBG/73aqha/7ZK+YvCvQ3+EaTm/qbxZsyMn09u+5tP6yuM1Mfspp21Q3qzd/mztLy+ZkyVfSKGlQWGSK3Df/yLec= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=ZtT+jUv3; arc=none smtp.client-ip=198.175.65.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="ZtT+jUv3" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1740050084; x=1771586084; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=+jS1jTMF6DZbZYivvOgteWsi/c1rwgo9K4n8AknT+bw=; b=ZtT+jUv3kxlgzQDQWHA5nWwKa0REe5iPCgxqBRUC69JMD2e8UZNHHbRp 8MfxGf7ljl5btr9m0hbUU7RpCQf1jT9y7TRNf9TfQmnmAVvvqomdyP3zb PoIQOV7rrRXYKm217QR+xsPZlHHM0Y7FpaaB6Cf18JDNmKuNcOJvltvpA hw6dECDnkydqJUpu3RwobXn6nvLXIZ23c9vyDvWBmb2IN8NPMPy9Inu8z EuMKiwolCLwiiT+MbTtObjYS8YdBGArVGvHkmGcK11umKwqwObH7di8d3 8ey1BjFdktBs0zJZ2afpohI7WVy88eqoLx5lY/toG7DEB5IszFEOPY6ah w==; X-CSE-ConnectionGUID: 2L9yDxKXSvG5yctJm6IhYg== X-CSE-MsgGUID: 9WdstxlvT4+amFL+eVVVkQ== X-IronPort-AV: E=McAfee;i="6700,10204,11350"; a="51808278" X-IronPort-AV: E=Sophos;i="6.13,301,1732608000"; d="scan'208";a="51808278" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Feb 2025 03:14:44 -0800 X-CSE-ConnectionGUID: lqfEbzQpTCWjB5aQHut9bw== X-CSE-MsgGUID: vXfYrmFPQpGaVa/HEHkZ+g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="114865382" Received: from crojewsk-ctrl.igk.intel.com ([10.237.149.254]) by orviesa010.jf.intel.com with ESMTP; 20 Feb 2025 03:14:42 -0800 From: Cezary Rojewski To: broonie@kernel.org Cc: tiwai@suse.com, perex@perex.cz, amadeuszx.slawinski@linux.intel.com, linux-sound@vger.kernel.org, oder_chiou@realtek.com, flove@realtek.com, andriy.shevchenko@linux.intel.com, Cezary Rojewski Subject: [PATCH 13/24] ASoC: codecs: rt5659: Fix definition of device_id tables Date: Thu, 20 Feb 2025 12:26:32 +0100 Message-Id: <20250220112643.3813295-14-cezary.rojewski@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20250220112643.3813295-1-cezary.rojewski@intel.com> References: <20250220112643.3813295-1-cezary.rojewski@intel.com> Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 There shall be no comma after the terminator entry and initializing fields with 0 for statically defined structs is redundant. Signed-off-by: Cezary Rojewski --- sound/soc/codecs/rt5659.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sound/soc/codecs/rt5659.c b/sound/soc/codecs/rt5659.c index a2652fa6e1d7..29f521716389 100644 --- a/sound/soc/codecs/rt5659.c +++ b/sound/soc/codecs/rt5659.c @@ -4315,16 +4315,16 @@ static void rt5659_i2c_shutdown(struct i2c_client *client) static const struct of_device_id rt5659_of_match[] = { { .compatible = "realtek,rt5658", }, { .compatible = "realtek,rt5659", }, - { }, + { } }; MODULE_DEVICE_TABLE(of, rt5659_of_match); #endif #ifdef CONFIG_ACPI static const struct acpi_device_id rt5659_acpi_match[] = { - { "10EC5658", 0, }, - { "10EC5659", 0, }, - { }, + { "10EC5658" }, + { "10EC5659" }, + {} }; MODULE_DEVICE_TABLE(acpi, rt5659_acpi_match); #endif From patchwork Thu Feb 20 11:26:33 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cezary Rojewski X-Patchwork-Id: 13983795 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 99BD31F0E2D for ; Thu, 20 Feb 2025 11:14:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050088; cv=none; b=mpzpGTYigIkcjyoGUkGcomiqOs/UP7n5DvFobDTDr9TV9efrJ6sN2wChZjZ8bhAibas/9UDPxQJz7WQxkX513g6YM3M9ohbvUpLGz6KxyYHAewvo6YK4rAdB9H9NGnCxhHLxubcF5F+tVPm8+nyUvG3NS5MMR3yawuK24j/l3Bk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050088; c=relaxed/simple; bh=Mmz4hvGPfTQRA6ghdSZbmlir/wl2XKEmkg1xCG2bTAk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=hZGtc+ugZKBNUKme7KFEDiJvfsSkeIlrMZl2E9z+MRxAbEaHS8Obxzhc7hZybK+9X+gcEGLfucSntRZq2rWBn8Mw8zMLB0hxz0sWu2MY7dZNciA5bQ1smHxUZem6vdJW8Y0Fxe1pEMLIXmB/vNYcQ1KMGQOOoVCyOmHD6N0R7hs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=W+olwHSx; arc=none smtp.client-ip=198.175.65.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="W+olwHSx" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1740050087; x=1771586087; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Mmz4hvGPfTQRA6ghdSZbmlir/wl2XKEmkg1xCG2bTAk=; b=W+olwHSxTINe50M+K6TN6W3mM6/naakeJ4jJAgx1id/hHzO5+GMJKpK9 owivYdnC/lVaGUTgohYDTPRMdoEcPrm8xxEyyY5B/rKg/3cFoxLBUV8p/ IGtdobEfUOiCL3sO5NHJFgTy+x7tWPqawfhGRdnbpBTWUbNsQyRVFJNj4 PmucXkLuD7euXbXAYbpN0xaYmYV6Xi9aOiHoX99nbY5BcsqL5beBFZ7R4 hlGvBFRa8LPj9HhoMIO0bbyh4XdTPW5gg0vNRBKUUbY5zssAd6zfEpDSO PCSsE/sv64yg3jVpBATGEZCrukmu719PDn6gjH1MxDXVsxYfsIKXs65Uz g==; X-CSE-ConnectionGUID: 0xc3wqOsTI6P+FKVKmnYvA== X-CSE-MsgGUID: HG0Za5UQRtaC8LFLEW5//Q== X-IronPort-AV: E=McAfee;i="6700,10204,11350"; a="51808289" X-IronPort-AV: E=Sophos;i="6.13,301,1732608000"; d="scan'208";a="51808289" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Feb 2025 03:14:46 -0800 X-CSE-ConnectionGUID: axWFiRzpT4mTc+5CX8mjYw== X-CSE-MsgGUID: 0MhQ/MxXQ+yteQw0KSxVrw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="114865401" Received: from crojewsk-ctrl.igk.intel.com ([10.237.149.254]) by orviesa010.jf.intel.com with ESMTP; 20 Feb 2025 03:14:44 -0800 From: Cezary Rojewski To: broonie@kernel.org Cc: tiwai@suse.com, perex@perex.cz, amadeuszx.slawinski@linux.intel.com, linux-sound@vger.kernel.org, oder_chiou@realtek.com, flove@realtek.com, andriy.shevchenko@linux.intel.com, Cezary Rojewski Subject: [PATCH 14/24] ASoC: codecs: rt5660: Fix definition of device_id tables Date: Thu, 20 Feb 2025 12:26:33 +0100 Message-Id: <20250220112643.3813295-15-cezary.rojewski@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20250220112643.3813295-1-cezary.rojewski@intel.com> References: <20250220112643.3813295-1-cezary.rojewski@intel.com> Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 There shall be no comma after the terminator entry and initializing fields with 0 for statically defined structs is redundant. Signed-off-by: Cezary Rojewski --- sound/soc/codecs/rt5660.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sound/soc/codecs/rt5660.c b/sound/soc/codecs/rt5660.c index 3ac41d2c279b..fe8c27297599 100644 --- a/sound/soc/codecs/rt5660.c +++ b/sound/soc/codecs/rt5660.c @@ -1232,16 +1232,16 @@ MODULE_DEVICE_TABLE(i2c, rt5660_i2c_id); #ifdef CONFIG_OF static const struct of_device_id rt5660_of_match[] = { { .compatible = "realtek,rt5660", }, - {}, + {} }; MODULE_DEVICE_TABLE(of, rt5660_of_match); #endif #ifdef CONFIG_ACPI static const struct acpi_device_id rt5660_acpi_match[] = { - { "10EC5660", 0 }, - { "10EC3277", 0 }, - { }, + { "10EC5660" }, + { "10EC3277" }, + {} }; MODULE_DEVICE_TABLE(acpi, rt5660_acpi_match); #endif From patchwork Thu Feb 20 11:26:34 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cezary Rojewski X-Patchwork-Id: 13983796 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EF2411F0E2D for ; Thu, 20 Feb 2025 11:14:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050090; cv=none; b=MPEUCh6CD8Xq/eNYqp2LkkA4QakPnlehSKKb4QrC76ahm2rtVonS5lPodv7B+fVVmiGUVcxPfrwAWvAKKIFH8h4A0kFOZgSv1LtCB3df3wa/Yrq4APIuEF1wZgfq/ZTgTpNBHQYS52HaCF7IRQVdHiPuaBsDzWOds4UQbBgvLpU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050090; c=relaxed/simple; bh=ZlzV7J25uxWbBdEwHVq/9m7BbmzPCCU2nXkall7tPwM=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=aZkEaFlt6eAMogXJDu5CjaRh4X0ebagYeYr6sfT9u8KlKbAZwyePWZP4tqEnbWRXto65z+Yg9TV5PkbpzvOXWgsc+EfysmOgz+2GVua7Usg7pQBSLhWrnok7wuZgZPCpW6eoTbYXe65STeN2Iow2nLrhkXEDIAeV4v60gJH7YRE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=b/CLhrTk; arc=none smtp.client-ip=198.175.65.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="b/CLhrTk" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1740050089; x=1771586089; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ZlzV7J25uxWbBdEwHVq/9m7BbmzPCCU2nXkall7tPwM=; b=b/CLhrTkjMPKemljbzb7Fp0zJAFz40HBWY/wLKgAjug55kYR7+hcc2Sd czIrBT7LikDamF0D6a1Jw97J7x5/6H0+7EIBpJUmx+ciB+JYKjfuCSnA9 j37AkXV/6PlkW/fua7OKnUSde+/yBVrsj6B9jKBb4t0xFLWdR8tKN34qn HJEU9ls11EG8KhkeHVpMP+2ZAHzFQLD4WX0gSQtp1t2Soxom4roJiVo49 EHdKHyz5WMcRuIkBuISZV3Xw3G0Vq1nSjYsVzwsI4VSDdDFh+n3Wh0hdE N/Uy+RUt67aW4YT1wRTsWxsBG3LffeKLPnhw4yMiIBn2nt+yGWkUzt/zq Q==; X-CSE-ConnectionGUID: HRm9JMZ2T8mVWIGN0RpJPg== X-CSE-MsgGUID: SINb2GwGRuigw/bs4NREVQ== X-IronPort-AV: E=McAfee;i="6700,10204,11350"; a="51808297" X-IronPort-AV: E=Sophos;i="6.13,301,1732608000"; d="scan'208";a="51808297" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Feb 2025 03:14:49 -0800 X-CSE-ConnectionGUID: DRnZpWEVTpSZHZsSxn2GEA== X-CSE-MsgGUID: zUNW/Q5pSsO8j0WPitNDmw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="114865405" Received: from crojewsk-ctrl.igk.intel.com ([10.237.149.254]) by orviesa010.jf.intel.com with ESMTP; 20 Feb 2025 03:14:47 -0800 From: Cezary Rojewski To: broonie@kernel.org Cc: tiwai@suse.com, perex@perex.cz, amadeuszx.slawinski@linux.intel.com, linux-sound@vger.kernel.org, oder_chiou@realtek.com, flove@realtek.com, andriy.shevchenko@linux.intel.com, Cezary Rojewski Subject: [PATCH 15/24] ASoC: codecs: rt5663: Fix definition of device_id tables Date: Thu, 20 Feb 2025 12:26:34 +0100 Message-Id: <20250220112643.3813295-16-cezary.rojewski@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20250220112643.3813295-1-cezary.rojewski@intel.com> References: <20250220112643.3813295-1-cezary.rojewski@intel.com> Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 There shall be no comma after the terminator entry and initializing fields with 0 for statically defined structs is redundant. Signed-off-by: Cezary Rojewski --- sound/soc/codecs/rt5663.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/soc/codecs/rt5663.c b/sound/soc/codecs/rt5663.c index 9d32debd3689..aa684d62bec6 100644 --- a/sound/soc/codecs/rt5663.c +++ b/sound/soc/codecs/rt5663.c @@ -3315,15 +3315,15 @@ MODULE_DEVICE_TABLE(i2c, rt5663_i2c_id); #if defined(CONFIG_OF) static const struct of_device_id rt5663_of_match[] = { { .compatible = "realtek,rt5663", }, - {}, + {} }; MODULE_DEVICE_TABLE(of, rt5663_of_match); #endif #ifdef CONFIG_ACPI static const struct acpi_device_id rt5663_acpi_match[] = { - { "10EC5663", 0}, - {}, + { "10EC5663" }, + {} }; MODULE_DEVICE_TABLE(acpi, rt5663_acpi_match); #endif From patchwork Thu Feb 20 11:26:35 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cezary Rojewski X-Patchwork-Id: 13983797 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5B8371F0E4B for ; Thu, 20 Feb 2025 11:14:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050092; cv=none; b=bLjYlOraZWkFT/tBwj9gsEYpLnAFNJkUhpD9qDphpJ2k/n27K6bIXMULpsRq5RubDi+IFiVmYO4iz1qtSbcvwh8jka8yqkMtoCQW1gxR3gfEK5v4FmPEiJtDn9HZZFVhXePYwb+hiNla9KNxIK6FPOmhbdYeuG4hb3EyXFTCffo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050092; c=relaxed/simple; bh=0Abw04MVF2mdmhz51CPdSEtrBhpZu63mbMIxtLD7J+s=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=QTXhDEAYVBu14GVIq7NkLWGzPk5iC+vwwWwLA1hgxkVM2gFkbI3Rr7wkWB+fF/58ZWuH9RP8tgVO8AUNxhTZ3wzRItKIjwPXNjw8FOw0FyU5p5bnZfuUyQoppdDp9t4BpoAnRCuNl4l9oYQLVLLfEhq0qlhWiD7bVNcDu5O1vM0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=n0zdB/Vr; arc=none smtp.client-ip=198.175.65.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="n0zdB/Vr" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1740050091; x=1771586091; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=0Abw04MVF2mdmhz51CPdSEtrBhpZu63mbMIxtLD7J+s=; b=n0zdB/Vrttne5H1q9J8BQUGpdlKCzDNKgkDJdSoBxADnBa3EkIgTt/pE w5Glfm+qs/jaoKHje5soPw8Vwus5K3lrBNZzvSj5EkI45J3qI8yWI/Wn9 fXlyZ6bP/Oed9/gNsMgIqzusL3rPNTDYlTtBZsU9FvWG4qwY7VIyGPXHy PpduhRPHLuV8FfNtQ6Mku5VbCCeu0rkbxkBgy5fAb20WpLDbY7YRrYycl zUQMYErTdtp9RuJzfhav9xuZxyIa1UTHt5B0nmmXPW3TrWrpvOyFet38A PjF6ixEpTlpC846obmVwtehwNx9JBpKEfLT2lHhGAgqUdgHKuCK+btKrJ g==; X-CSE-ConnectionGUID: RFyQuJ3jSTSIU+RV5WrItA== X-CSE-MsgGUID: O4dmwepMTmmtib9l9dMfEQ== X-IronPort-AV: E=McAfee;i="6700,10204,11350"; a="51808304" X-IronPort-AV: E=Sophos;i="6.13,301,1732608000"; d="scan'208";a="51808304" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Feb 2025 03:14:51 -0800 X-CSE-ConnectionGUID: 5oH2sHi0RMeY3VHs37RZeA== X-CSE-MsgGUID: OaFSyXkyST6G4WhoZq2BNw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="114865410" Received: from crojewsk-ctrl.igk.intel.com ([10.237.149.254]) by orviesa010.jf.intel.com with ESMTP; 20 Feb 2025 03:14:49 -0800 From: Cezary Rojewski To: broonie@kernel.org Cc: tiwai@suse.com, perex@perex.cz, amadeuszx.slawinski@linux.intel.com, linux-sound@vger.kernel.org, oder_chiou@realtek.com, flove@realtek.com, andriy.shevchenko@linux.intel.com, Cezary Rojewski Subject: [PATCH 16/24] ASoC: codecs: rt5665: Fix definition of device_id tables Date: Thu, 20 Feb 2025 12:26:35 +0100 Message-Id: <20250220112643.3813295-17-cezary.rojewski@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20250220112643.3813295-1-cezary.rojewski@intel.com> References: <20250220112643.3813295-1-cezary.rojewski@intel.com> Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 There shall be no comma after the terminator entry and initializing fields with 0 for statically defined structs is redundant. Signed-off-by: Cezary Rojewski --- sound/soc/codecs/rt5665.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sound/soc/codecs/rt5665.c b/sound/soc/codecs/rt5665.c index 47df14ba5278..61d098a57b3b 100644 --- a/sound/soc/codecs/rt5665.c +++ b/sound/soc/codecs/rt5665.c @@ -4949,16 +4949,16 @@ static void rt5665_i2c_shutdown(struct i2c_client *client) static const struct of_device_id rt5665_of_match[] = { {.compatible = "realtek,rt5665"}, {.compatible = "realtek,rt5666"}, - {}, + {} }; MODULE_DEVICE_TABLE(of, rt5665_of_match); #endif #ifdef CONFIG_ACPI static const struct acpi_device_id rt5665_acpi_match[] = { - {"10EC5665", 0,}, - {"10EC5666", 0,}, - {}, + { "10EC5665" }, + { "10EC5666" }, + {} }; MODULE_DEVICE_TABLE(acpi, rt5665_acpi_match); #endif From patchwork Thu Feb 20 11:26:36 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cezary Rojewski X-Patchwork-Id: 13983798 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C1A3A1F0E4B for ; Thu, 20 Feb 2025 11:14:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050095; cv=none; b=qUuEWKG55agBxUtx+u5Zk5Y6Bf+ZXEvIRRI//qtIjWo9c1FKIx01xKXoQUMq2ta+AAGCT1exafztmL0u7L+7LZrWvb3JjAYrntW6o8QGcDo6aoFoOJC4T7mg9J6JHXySGIRd/NwHEtRr/PSA9iB2R/TrsKntMD35SI5Br8/ttWk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050095; c=relaxed/simple; bh=zVjUcm2gN9eNhjj8U22JQ6lXaDCibtTsW+9ifRi2j3A=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=m+oyZ5Ya9gaJGxdrq2fSyIJM3GHXQwRPOZMcV4fa7hRwXht7wr3F+nzm53TMZDA0tqv59S80DEKSEJH8Zh38R54Om8swasp5/Y9WMbKNe5GZwm6Fx/OEARdePAo7MxxRy2AI2OQi0cAwjZzUIcYPgEzVo/YMFTndxFuSL5m68yU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=DxseIWlp; arc=none smtp.client-ip=198.175.65.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="DxseIWlp" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1740050094; x=1771586094; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=zVjUcm2gN9eNhjj8U22JQ6lXaDCibtTsW+9ifRi2j3A=; b=DxseIWlp0iFjbf1z6epLwdFq6j/f/6LsOxZ2/FiPn0jYVbBWJeaLk1k5 K8G+ckYRHEF3Lc9/DVyoYEZu/Z0UAne/xiTAdogousXGbB56Kvd9p1dJL +jeQsrdCIVK644nnIZjUnMQhrJkHnH9M1dgaeAKfzNckZEu6qk/r88o5d oZEIvfg+2hcTQn5VyHQyrFeukhBKvUbetC4Aq8myvF09RpWg1clrKJJ4G u4s+/HdNnoyCX2eF9lj3QgoIWNSm04pxx8CkBzBZLrGlOiip82CqJ0sQo 2HOhlHrUKCaAHhP4lE4rzoM9iOahsPFJK0i7e/9e3o3GFAxISmGIu9JhY g==; X-CSE-ConnectionGUID: wnTAtIp0QVupPcBKTlq2FA== X-CSE-MsgGUID: SYceBaueRmSiVBQwKlEYIA== X-IronPort-AV: E=McAfee;i="6700,10204,11350"; a="51808312" X-IronPort-AV: E=Sophos;i="6.13,301,1732608000"; d="scan'208";a="51808312" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Feb 2025 03:14:54 -0800 X-CSE-ConnectionGUID: 8DFtoJ68Si2ZhSydaYOQXA== X-CSE-MsgGUID: H7W0Q17bQ6+T8dP/uMlqUg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="114865414" Received: from crojewsk-ctrl.igk.intel.com ([10.237.149.254]) by orviesa010.jf.intel.com with ESMTP; 20 Feb 2025 03:14:51 -0800 From: Cezary Rojewski To: broonie@kernel.org Cc: tiwai@suse.com, perex@perex.cz, amadeuszx.slawinski@linux.intel.com, linux-sound@vger.kernel.org, oder_chiou@realtek.com, flove@realtek.com, andriy.shevchenko@linux.intel.com, Cezary Rojewski Subject: [PATCH 17/24] ASoC: codecs: rt5668: Fix definition of device_id tables Date: Thu, 20 Feb 2025 12:26:36 +0100 Message-Id: <20250220112643.3813295-18-cezary.rojewski@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20250220112643.3813295-1-cezary.rojewski@intel.com> References: <20250220112643.3813295-1-cezary.rojewski@intel.com> Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 There shall be no comma after the terminator entry and initializing fields with 0 for statically defined structs is redundant. Signed-off-by: Cezary Rojewski --- sound/soc/codecs/rt5668.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/soc/codecs/rt5668.c b/sound/soc/codecs/rt5668.c index 494ca3ce9b96..463aa81dce25 100644 --- a/sound/soc/codecs/rt5668.c +++ b/sound/soc/codecs/rt5668.c @@ -2598,15 +2598,15 @@ static void rt5668_i2c_shutdown(struct i2c_client *client) #ifdef CONFIG_OF static const struct of_device_id rt5668_of_match[] = { {.compatible = "realtek,rt5668b"}, - {}, + {} }; MODULE_DEVICE_TABLE(of, rt5668_of_match); #endif #ifdef CONFIG_ACPI static const struct acpi_device_id rt5668_acpi_match[] = { - {"10EC5668", 0,}, - {}, + { "10EC5668" }, + {} }; MODULE_DEVICE_TABLE(acpi, rt5668_acpi_match); #endif From patchwork Thu Feb 20 11:26:37 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cezary Rojewski X-Patchwork-Id: 13983799 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2B7411F0E2D for ; Thu, 20 Feb 2025 11:14:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050097; cv=none; b=hFwEtAoiUbiuV3Dp7qo2a4fzbiaOFnoOjFEWz7N9VGXf3jZnbRy2Yz4ZXjiKvn0MrdcpCWESBL9ax8IFBgx/farfPVQ0Klw655ycAKpG80UqyhqknqwvDY4li/vxtcoWvfMcE/OzDY6hIF6Q2aR6Lj841FXybkUwXdisOFkjhHI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050097; c=relaxed/simple; bh=2S5oA9HtYHVsr7cVexzSEZxRpaNXWBBBLC468Hxo0Sk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=MOVbmKchB28X/CBhGHYhB5IDBjjVYuy4tn7OXnelHTcCNdHxnFUkKjrN0XC+ybvhbbkszT+2A4fcuL8Wc+nR/HcEGfEVdxMg1LPbGXYxBL5SvZ5q/l4Kd0bjB+uorsx3/XTxUegg+zPRaCGAKFLtm5oVEg3/A3l2RwI1IXtGvDE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=ZJy/OIIc; arc=none smtp.client-ip=198.175.65.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="ZJy/OIIc" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1740050096; x=1771586096; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=2S5oA9HtYHVsr7cVexzSEZxRpaNXWBBBLC468Hxo0Sk=; b=ZJy/OIIc3ZPSRU4DAdAigEGZuZJD320D79jn0TIZEjzIdpfAM3vP6I2H H6mab1eJfQ7uarZcOYQOy7SX9unW0D72Qf1n7Q0DpN0G667Ik+Ioxn0pL 5FzQcYNXHRB68oBGn9J7YS8W1d/CO2X7D8Dd7pAGvRstpiYIFtDQCdCAO D7pUINxw1Ab+Om75CWu2XvMh9IK2FDIzP7TYpwkr04yEk2M8VIhKV5UU3 Pv0RmFIsL8syflpd4VIMqO90FzEd3y2O4/z1cu2Z+u3TSXla/hrCuHqsg RVlco7EdMlbY1QoL6JQBd3fwC+88jdYZnzcUtLzrY8KSMHcmD50DnHqI1 w==; X-CSE-ConnectionGUID: H/Kr6Im9RGqKUGnKF0jCmg== X-CSE-MsgGUID: iiTH15A6Q0ecYCqwfhjFEQ== X-IronPort-AV: E=McAfee;i="6700,10204,11350"; a="51808330" X-IronPort-AV: E=Sophos;i="6.13,301,1732608000"; d="scan'208";a="51808330" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Feb 2025 03:14:56 -0800 X-CSE-ConnectionGUID: LF8lqV8eQ8eBkiHsMxV0sQ== X-CSE-MsgGUID: E+lL4C5XRdqtrz54+xVaUA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="114865421" Received: from crojewsk-ctrl.igk.intel.com ([10.237.149.254]) by orviesa010.jf.intel.com with ESMTP; 20 Feb 2025 03:14:54 -0800 From: Cezary Rojewski To: broonie@kernel.org Cc: tiwai@suse.com, perex@perex.cz, amadeuszx.slawinski@linux.intel.com, linux-sound@vger.kernel.org, oder_chiou@realtek.com, flove@realtek.com, andriy.shevchenko@linux.intel.com, Cezary Rojewski Subject: [PATCH 18/24] ASoC: codecs: rt5670: Fix definition of device_id tables Date: Thu, 20 Feb 2025 12:26:37 +0100 Message-Id: <20250220112643.3813295-19-cezary.rojewski@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20250220112643.3813295-1-cezary.rojewski@intel.com> References: <20250220112643.3813295-1-cezary.rojewski@intel.com> Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 There shall be no comma after the terminator entry and initializing fields with 0 for statically defined structs is redundant. Signed-off-by: Cezary Rojewski --- sound/soc/codecs/rt5670.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sound/soc/codecs/rt5670.c b/sound/soc/codecs/rt5670.c index 30bf96c35b58..f40c98920ce1 100644 --- a/sound/soc/codecs/rt5670.c +++ b/sound/soc/codecs/rt5670.c @@ -2880,10 +2880,10 @@ MODULE_DEVICE_TABLE(i2c, rt5670_i2c_id); #ifdef CONFIG_ACPI static const struct acpi_device_id rt5670_acpi_match[] = { - { "10EC5670", 0}, - { "10EC5672", 0}, - { "10EC5640", 0}, /* quirk */ - { }, + { "10EC5670" }, + { "10EC5672" }, + { "10EC5640" }, /* quirk */ + {} }; MODULE_DEVICE_TABLE(acpi, rt5670_acpi_match); #endif From patchwork Thu Feb 20 11:26:38 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cezary Rojewski X-Patchwork-Id: 13983800 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 877031F1314 for ; Thu, 20 Feb 2025 11:14:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050100; cv=none; b=aseVq39JX6xN+Z5oHbB+IreA1mtCIsLy7EL68Ww2/gUq28QZ61mzdjirvfJFl1qdq8MC0pw07VuNpP40x7MyGcQzDCfHMitrSnOfIj7svZEWtUfabFxWpx4SSAc/EncIsK0EagbB/cPygpZhxct1OtYJX/UXY2Wd5elFzI1OirQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050100; c=relaxed/simple; bh=hkLEWsOI+juIuwPL8YKYapKW4jGuA9OTrJK00Rjef1g=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=uBQ4MWRQAxhNSakN7UaX4VnWAGL3LYWMz30+pPQDPZFZRRlfaZtTCgrBGWEifr1tbcLAzVPNudCZ+JCpVJfLjJVstHd6GrEoMoQHlwqCCVkpYxx/myzhnajKl3U85PlBbMUC6q0NFmQCV3dixQdARtQSwR9oJptaVi7S6TWTFXY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=XRu0WVRq; arc=none smtp.client-ip=198.175.65.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="XRu0WVRq" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1740050098; x=1771586098; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=hkLEWsOI+juIuwPL8YKYapKW4jGuA9OTrJK00Rjef1g=; b=XRu0WVRqcYQmEjChEVpK4Oct7g4YlhYCSrSb3+yKGKE1oZJR+k0gNDsi NnZDvKIilavqw2SC7ljAmCdQUkksMCIEfaVWUuMVPeHUaF8D0rlQ7WyRo agpUe8cm4xyN1+h7bQGlfW1f5Ucx/C0DVCiQuFWj89Adhtl4GTCbFwuzt mRr1P3vM1P31YHh14CAlmDen0n6yoz6KgXc2NH/+K9i7r3oveeB6cy8gD o/1MmKEftDONwyeFZmyiuQrVHekNc+1T7TBp/Ct3NlK54y4HClZlG9kdX 9W79K4W1JvIHm6e4KlcLQw8uIC5H6r4KQDNO4kW82xkFBdHDFvqedAc5I A==; X-CSE-ConnectionGUID: NO3TsLvmTlGvzPGLK7HeRA== X-CSE-MsgGUID: 9bcugXFcRrG0nuCy9MD45Q== X-IronPort-AV: E=McAfee;i="6700,10204,11350"; a="51808338" X-IronPort-AV: E=Sophos;i="6.13,301,1732608000"; d="scan'208";a="51808338" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Feb 2025 03:14:58 -0800 X-CSE-ConnectionGUID: l9kfmnuXRBaKlushQrM3Hw== X-CSE-MsgGUID: 3ZQzWHWSS2ObWdEP2kHuZQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="114865425" Received: from crojewsk-ctrl.igk.intel.com ([10.237.149.254]) by orviesa010.jf.intel.com with ESMTP; 20 Feb 2025 03:14:56 -0800 From: Cezary Rojewski To: broonie@kernel.org Cc: tiwai@suse.com, perex@perex.cz, amadeuszx.slawinski@linux.intel.com, linux-sound@vger.kernel.org, oder_chiou@realtek.com, flove@realtek.com, andriy.shevchenko@linux.intel.com, Cezary Rojewski Subject: [PATCH 19/24] ASoC: codecs: rt5682: Fix definition of device_id tables Date: Thu, 20 Feb 2025 12:26:38 +0100 Message-Id: <20250220112643.3813295-20-cezary.rojewski@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20250220112643.3813295-1-cezary.rojewski@intel.com> References: <20250220112643.3813295-1-cezary.rojewski@intel.com> Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 There shall be no comma after the terminator entry and initializing fields with 0 for statically defined structs is redundant. Signed-off-by: Cezary Rojewski --- sound/soc/codecs/rt5682-i2c.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/soc/codecs/rt5682-i2c.c b/sound/soc/codecs/rt5682-i2c.c index a8820435d1e0..fa950811b3a7 100644 --- a/sound/soc/codecs/rt5682-i2c.c +++ b/sound/soc/codecs/rt5682-i2c.c @@ -313,13 +313,13 @@ static void rt5682_i2c_remove(struct i2c_client *client) static const struct of_device_id rt5682_of_match[] = { {.compatible = "realtek,rt5682i"}, - {}, + {} }; MODULE_DEVICE_TABLE(of, rt5682_of_match); static const struct acpi_device_id rt5682_acpi_match[] = { - {"10EC5682", 0,}, - {}, + { "10EC5682" }, + {} }; MODULE_DEVICE_TABLE(acpi, rt5682_acpi_match); From patchwork Thu Feb 20 11:26:39 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cezary Rojewski X-Patchwork-Id: 13983801 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EEA061F2377 for ; Thu, 20 Feb 2025 11:15:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050102; cv=none; b=pU1zCqwV/sk1oLEVhYQAARuJhc3j7bydxQlI7r23g6ZtEuHJrddpwNpLYC4jqdBw9H2BG2f88KCzcx+Spb87ns7jp7FBWaqwE47Q+1iHbEN63uYB+KyRPIiBjBMLNALZAMbTEMHEWviuTJs1CUpwOKn6Dhx2MgXzqpqgEmjHMpk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050102; c=relaxed/simple; bh=UlUgJSClFVT0+ncp/Pr2BOJwnmeccPDqrWeife+xx58=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=WqKqDz4ggSUza/w1MSmDMwoZDPnRLFxbmjb7maoAUd1YapeIO+/hulZr9ERkMb5nG325SLfj23TJEVN5AvB71zLrj4GA1LNi1Fwe3nMzAXwj/oy/rrFBpFY7T16ENnKmB06Ww+H/CIjgnFyZlFtp1DpBIgIjONZMhpORhC1ocTg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=U3HyHCeU; arc=none smtp.client-ip=198.175.65.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="U3HyHCeU" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1740050101; x=1771586101; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=UlUgJSClFVT0+ncp/Pr2BOJwnmeccPDqrWeife+xx58=; b=U3HyHCeU2xzTBiuqQ5Vk+QNDxHUHOfyQqLagCsZyJz68GRr1TVKB+i6o 1G2x/WLwGUb9tGtDDWPHh4myxSCvhntqRK201+JSzDit3of3QdCYCZkYN yXy4GGARiQxTpl7CmEdV3khZyBZNkpCA6s7Y6v0m5aOAZ2kRURhIQecFZ FtGwPloRfIzGLRu3uR89TXpiENhF13Vi877Ivi5wERFJPn9Rmie968d81 CZOb8DcfQOP7ku1SLGL2WzGhAz7Ng1qZqqHn34NDJqxLH5KreAleJW/VV jveeEq1K0upIDq80poHUvk3eC6OyOZ8pBs7UmuIZ2D+oXjKe2B5qVSgCP w==; X-CSE-ConnectionGUID: WPGcW/r4SV2uoO9Nagy7Dw== X-CSE-MsgGUID: ZUbCKZ2BR4ad0+7KARkD6A== X-IronPort-AV: E=McAfee;i="6700,10204,11350"; a="51808345" X-IronPort-AV: E=Sophos;i="6.13,301,1732608000"; d="scan'208";a="51808345" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Feb 2025 03:15:01 -0800 X-CSE-ConnectionGUID: C7Bx72zFRlm7GSZhsnjErg== X-CSE-MsgGUID: UAMEe608RE2/IoA2Nm8oDQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="114865429" Received: from crojewsk-ctrl.igk.intel.com ([10.237.149.254]) by orviesa010.jf.intel.com with ESMTP; 20 Feb 2025 03:14:58 -0800 From: Cezary Rojewski To: broonie@kernel.org Cc: tiwai@suse.com, perex@perex.cz, amadeuszx.slawinski@linux.intel.com, linux-sound@vger.kernel.org, oder_chiou@realtek.com, flove@realtek.com, andriy.shevchenko@linux.intel.com, Cezary Rojewski Subject: [PATCH 20/24] ASoC: codecs: rt1015p: Update definition of device_id tables Date: Thu, 20 Feb 2025 12:26:39 +0100 Message-Id: <20250220112643.3813295-21-cezary.rojewski@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20250220112643.3813295-1-cezary.rojewski@intel.com> References: <20250220112643.3813295-1-cezary.rojewski@intel.com> Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Follow PCI-based format (10ECxxxx) for ACPI IDs by adding relevant entries to the existing table. While at it, there shall be no comma after the terminator entry and initializing fields with 0 for statically defined structs is redundant. Signed-off-by: Cezary Rojewski --- sound/soc/codecs/rt1015p.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sound/soc/codecs/rt1015p.c b/sound/soc/codecs/rt1015p.c index 44e7fe3c32da..33917438196f 100644 --- a/sound/soc/codecs/rt1015p.c +++ b/sound/soc/codecs/rt1015p.c @@ -133,9 +133,11 @@ MODULE_DEVICE_TABLE(of, rt1015p_device_id); #ifdef CONFIG_ACPI static const struct acpi_device_id rt1015p_acpi_match[] = { - { "RTL1015", 0}, - { "RTL1019", 0}, - { }, + { "RTL1015" }, + { "RTL1019" }, + { "10EC1015" }, + { "10EC1019" }, + {} }; MODULE_DEVICE_TABLE(acpi, rt1015p_acpi_match); #endif From patchwork Thu Feb 20 11:26:40 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cezary Rojewski X-Patchwork-Id: 13983802 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5C7101F3D52 for ; Thu, 20 Feb 2025 11:15:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050104; cv=none; b=BYh7uSyqi7Ivj/juEN/JI2vuK5fcJ3n4ZZabXZ0ujBWAdsccw8ynT+dsltqt8fpNQgfRWoiTP13NiDzxLioyRWZvxDYCKfjbjNtemX9wbzyr7EuY2RhzxD0/OPhT2SR3lrmt0wONQScVjLIGEQ/+rI9ECASR6G/Od0rAg4oa5kI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050104; c=relaxed/simple; bh=fyYPoH2ehSb+RHLvEDTlYOw4PacTk3Zr58lLrzIUGes=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=iNOBkXWQ1lf0NeuyNMTWug8t2Nacl1QKKOUzMjhlpEr3i8mRNJ0CC5IacdzUWWcpidpoQycnLtjTybt0gdgy3+nZ1DnJsQsH418Q0KSpZoRx6gPOREPuIaBa12Z3XJvfO8Qpwux5X/5eJv4T8Cu5sH5sLUnw2Rb8O5ermu3Xs7k= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=RySrQJQb; arc=none smtp.client-ip=198.175.65.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="RySrQJQb" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1740050103; x=1771586103; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=fyYPoH2ehSb+RHLvEDTlYOw4PacTk3Zr58lLrzIUGes=; b=RySrQJQbK+MGqYv9aZRPizpXRcvMUqjhByZhks/OfFGzKRl4Nzf6+WUY kkLG82ObNJp+EOr5kFE5/siSYFP0gYoc5/ioTJaV0dNmI5kk9ilNO5ZJd gNcIQsT3xgEQpRnZeqJSWEn6lVFPtO/rE10xfvZbn+dNue1EizE2Ow9zL JOigrxHcYXiNU97VrqRrFHUe1e9TM9oi04eyi6/Egn1fpQ+2HX7UeUE6V q7PQEsIT/MUETgLPNS6BNLmmonz/Ksz52jeYpnBMXcQS19cG6vTGSGgVl zJp/ZqOKpukVHYB+Zn44Zr+mnqw+aZ97tp6JWMn9O9JVWYer8lxwFL9vh Q==; X-CSE-ConnectionGUID: xYf3X7mmQI2boJ3dI1lfYQ== X-CSE-MsgGUID: 3PyUVghkTD2Wvu3DGtE7RQ== X-IronPort-AV: E=McAfee;i="6700,10204,11350"; a="51808355" X-IronPort-AV: E=Sophos;i="6.13,301,1732608000"; d="scan'208";a="51808355" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Feb 2025 03:15:03 -0800 X-CSE-ConnectionGUID: VOY2UMK8SSmhBjiGqaUWLA== X-CSE-MsgGUID: ZHdISApVQaGtsBxPq3mfgA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="114865448" Received: from crojewsk-ctrl.igk.intel.com ([10.237.149.254]) by orviesa010.jf.intel.com with ESMTP; 20 Feb 2025 03:15:01 -0800 From: Cezary Rojewski To: broonie@kernel.org Cc: tiwai@suse.com, perex@perex.cz, amadeuszx.slawinski@linux.intel.com, linux-sound@vger.kernel.org, oder_chiou@realtek.com, flove@realtek.com, andriy.shevchenko@linux.intel.com, Cezary Rojewski Subject: [PATCH 21/24] ASoC: codecs: rt286: Update definition of device_id tables Date: Thu, 20 Feb 2025 12:26:40 +0100 Message-Id: <20250220112643.3813295-22-cezary.rojewski@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20250220112643.3813295-1-cezary.rojewski@intel.com> References: <20250220112643.3813295-1-cezary.rojewski@intel.com> Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Follow PCI-based format (10ECxxxx) for ACPI IDs by adding relevant entries to the existing table. While at it, there shall be no comma after the terminator entry and initializing fields with 0 for statically defined structs is redundant. Signed-off-by: Cezary Rojewski --- sound/soc/codecs/rt286.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sound/soc/codecs/rt286.c b/sound/soc/codecs/rt286.c index d0f533120c33..c187e580c0ca 100644 --- a/sound/soc/codecs/rt286.c +++ b/sound/soc/codecs/rt286.c @@ -1083,8 +1083,9 @@ MODULE_DEVICE_TABLE(i2c, rt286_i2c_id); #ifdef CONFIG_ACPI static const struct acpi_device_id rt286_acpi_match[] = { - { "INT343A", 0 }, - {}, + { "10EC0286" }, + { "INT343A" }, + {} }; MODULE_DEVICE_TABLE(acpi, rt286_acpi_match); #endif From patchwork Thu Feb 20 11:26:41 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cezary Rojewski X-Patchwork-Id: 13983803 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C075D1F193D for ; Thu, 20 Feb 2025 11:15:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050107; cv=none; b=VWSizFmpDRbqQQ+lY76rukBBkZHsicQgKLNc6Gx1sX8PRMJy7SGNC3gEZfm0RY64fbEG6qqBKa/Xw2O9mzQ2WeTmfT89/A3EucZI7lXkzMjhRJnaLWO5lkxcF64fBQaTi4Qz3Mb8wPc1UoZHMfb/0XDegm2sgeVc3I2VlmNDJKA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050107; c=relaxed/simple; bh=3oqexYrDkoV9DmaNPFqdO5hb+VnrO8CDYttcf7zFgeU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Wrs5Wk6uVsSH9BVKEyTd50Dpib9BPipFgnvzdgiB01Rw3x7mehABXVACYYXGyMizu1fimh6wC8g4qgzi3tdZ19j8MNFQRaEddyqex1B9DL73+/uby75Xzt5f5gphMJOVSDt3PnXVuDzikMZegxmk80Jwhchv/2dItgJsKFnF3is= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=OMmdvQEt; arc=none smtp.client-ip=198.175.65.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="OMmdvQEt" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1740050106; x=1771586106; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=3oqexYrDkoV9DmaNPFqdO5hb+VnrO8CDYttcf7zFgeU=; b=OMmdvQEtCHap4ey/FiVxN9DdJ6fG9J670VoIzIQSB5IycsBQKHcpg8/U 0/hZEmN6Jfh9Fxhcfttt4mEGfc/mvYgV3E1kF6K2W1e3r2yE+6roHWfAr ugqxePwAWrMn+/TqpKDUsfTaEmzc99v87Sti6UmcIlZUDdV1djHlM8N5h u5+S6kBAlkVq+xG7OG6cvmbT9S5NHDBB865DZ1//3+9CHGoOGaKsU0Mlg wDRDtygB53VbZFbBlyDEmv1a+peLh21AxFwGbqkxOcHg+xTAXSgjewuL0 xDKWE3bUTTVHl2YaAIOGp/HUeGAZlOQGhFz2Jlrzwb35DPjcxg8Q8NxLR A==; X-CSE-ConnectionGUID: oEC8IpImSrijYngMQ3o0VQ== X-CSE-MsgGUID: DPfTPI5JQza/4gaOSbbOLw== X-IronPort-AV: E=McAfee;i="6700,10204,11350"; a="51808377" X-IronPort-AV: E=Sophos;i="6.13,301,1732608000"; d="scan'208";a="51808377" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Feb 2025 03:15:06 -0800 X-CSE-ConnectionGUID: fwro8iFqQFmwymDJ+lzPUQ== X-CSE-MsgGUID: JqRtFtp+SZOKrN/aiBsItA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="114865499" Received: from crojewsk-ctrl.igk.intel.com ([10.237.149.254]) by orviesa010.jf.intel.com with ESMTP; 20 Feb 2025 03:15:03 -0800 From: Cezary Rojewski To: broonie@kernel.org Cc: tiwai@suse.com, perex@perex.cz, amadeuszx.slawinski@linux.intel.com, linux-sound@vger.kernel.org, oder_chiou@realtek.com, flove@realtek.com, andriy.shevchenko@linux.intel.com, Cezary Rojewski Subject: [PATCH 22/24] ASoC: codecs: rt298: Update definition of device_id tables Date: Thu, 20 Feb 2025 12:26:41 +0100 Message-Id: <20250220112643.3813295-23-cezary.rojewski@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20250220112643.3813295-1-cezary.rojewski@intel.com> References: <20250220112643.3813295-1-cezary.rojewski@intel.com> Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Follow PCI-based format (10ECxxxx) for ACPI IDs by adding relevant entries to the existing table. While at it, there shall be no comma after the terminator entry and initializing fields with 0 for statically defined structs is redundant. Signed-off-by: Cezary Rojewski --- sound/soc/codecs/rt298.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sound/soc/codecs/rt298.c b/sound/soc/codecs/rt298.c index 13aef6c5e91c..37c234f1109a 100644 --- a/sound/soc/codecs/rt298.c +++ b/sound/soc/codecs/rt298.c @@ -1144,8 +1144,9 @@ MODULE_DEVICE_TABLE(i2c, rt298_i2c_id); #ifdef CONFIG_ACPI static const struct acpi_device_id rt298_acpi_match[] = { - { "INT343A", 0 }, - {}, + { "10EC0298" }, + { "INT343A" }, + {} }; MODULE_DEVICE_TABLE(acpi, rt298_acpi_match); #endif From patchwork Thu Feb 20 11:26:42 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cezary Rojewski X-Patchwork-Id: 13983804 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 715871F3D52 for ; Thu, 20 Feb 2025 11:15:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050109; cv=none; b=MeNGw/CvIraLIxJ6zazaG/zAShMLvWKMskYsaiUWff3SJIkyr5u7m7Vessu+LzIJUqCGi75bpmVo1Jn7Lud1lcm8EbcOu5W3CEQ7Up5gXdgPsGRKi4PYxDoec/OuZ5/BhgdTkR3aeG5pkfdDAZ60AN1iUgtx9QkJsp2V3k5DMGc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050109; c=relaxed/simple; bh=rsTx+YNnZUx7N4r7VVbCDZWP6EtZDFrJUKvTYfDBWsM=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=m6xpwSc7d1TpECEjlSqr2YgF2o4JRoTVhPLYVrdFyUJUh1PeOGAqTpXTJLkWOUiMCyEsgKGTI0Mt9cCCp4LR8AXYhpyrKCzPDO1JlOMdXE4ubEhwTDP5jHNiKBCUypKlIIYLX82jNdOsSuf3i1WbWTCK/s1tQLFOcqJNKKvRNpo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=AKLRBYKJ; arc=none smtp.client-ip=198.175.65.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="AKLRBYKJ" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1740050108; x=1771586108; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=rsTx+YNnZUx7N4r7VVbCDZWP6EtZDFrJUKvTYfDBWsM=; b=AKLRBYKJ6y/NQPlpd3FTFHEH/zdFjf8cXmnOcpFA3SlxAtrMl9tLR1wT 62UpyfvOmkTBBS9zrzc5fRAv/VfzylEd8QSLyH1rZhAgMy4jrX4edpfQz Gg0NyCv8buoe+li94K6vQao2JnWWQ/kMjgnt/z/8by/z4y+Ndz9wOBEHG ToWuQnstZi8kK4OaLtx43U65zdvOenRupRoA1edXL3qbP6j063xNNfP0x NUXVaxE405aONxDkUW1atlhyv9JB3+wD/BOJiJZq3QAIGIe9NKXDJ4Gke l+akC8rVGp/Cbvcq+LTPEVrWJamKCHXgkXkEUEpht4chfo4L0y0F+0MDl A==; X-CSE-ConnectionGUID: paOpB0pWRoyxYFQHZlNU8Q== X-CSE-MsgGUID: 5k4qyjvMStaTG8CnvsWdzA== X-IronPort-AV: E=McAfee;i="6700,10204,11350"; a="51808389" X-IronPort-AV: E=Sophos;i="6.13,301,1732608000"; d="scan'208";a="51808389" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Feb 2025 03:15:08 -0800 X-CSE-ConnectionGUID: Y8MbMkT4TnyKT6TU/lqXsw== X-CSE-MsgGUID: FTSQVLpURgOSVqBWE4/CeQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="114865523" Received: from crojewsk-ctrl.igk.intel.com ([10.237.149.254]) by orviesa010.jf.intel.com with ESMTP; 20 Feb 2025 03:15:06 -0800 From: Cezary Rojewski To: broonie@kernel.org Cc: tiwai@suse.com, perex@perex.cz, amadeuszx.slawinski@linux.intel.com, linux-sound@vger.kernel.org, oder_chiou@realtek.com, flove@realtek.com, andriy.shevchenko@linux.intel.com, Cezary Rojewski Subject: [PATCH 23/24] ASoC: codecs: rt5677: Update definition of device_id tables Date: Thu, 20 Feb 2025 12:26:42 +0100 Message-Id: <20250220112643.3813295-24-cezary.rojewski@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20250220112643.3813295-1-cezary.rojewski@intel.com> References: <20250220112643.3813295-1-cezary.rojewski@intel.com> Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Follow PCI-based format (10ECxxxx) for ACPI IDs by adding relevant entries to the existing table. While at it, there shall be no comma after the terminator entry and initializing fields with 0 for statically defined structs is redundant. Signed-off-by: Cezary Rojewski --- sound/soc/codecs/rt5677-spi.c | 5 +++-- sound/soc/codecs/rt5677.c | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/sound/soc/codecs/rt5677-spi.c b/sound/soc/codecs/rt5677-spi.c index d91a2184f67c..3b9c23aa255f 100644 --- a/sound/soc/codecs/rt5677-spi.c +++ b/sound/soc/codecs/rt5677-spi.c @@ -617,8 +617,9 @@ static int rt5677_spi_probe(struct spi_device *spi) #ifdef CONFIG_ACPI static const struct acpi_device_id rt5677_spi_acpi_id[] = { - { "RT5677AA", 0 }, - { } + { "RT5677AA" }, + { "10EC5677" }, + {} }; MODULE_DEVICE_TABLE(acpi, rt5677_spi_acpi_id); #endif diff --git a/sound/soc/codecs/rt5677.c b/sound/soc/codecs/rt5677.c index 0e70a3ab42b5..d9b173ba7f6e 100644 --- a/sound/soc/codecs/rt5677.c +++ b/sound/soc/codecs/rt5677.c @@ -5202,7 +5202,8 @@ MODULE_DEVICE_TABLE(of, rt5677_of_match); static const struct acpi_device_id rt5677_acpi_match[] = { { "RT5677CE", RT5677 }, - { } + { "10EC5677", RT5677 }, + {} }; MODULE_DEVICE_TABLE(acpi, rt5677_acpi_match); From patchwork Thu Feb 20 11:26:43 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cezary Rojewski X-Patchwork-Id: 13983805 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AF9541F4634 for ; Thu, 20 Feb 2025 11:15:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050112; cv=none; b=mlgV4OzDMQfsE6rVD9zVtL238pnDg3uJ6PLCvkbW4Juo6vMxcwC/kIJOt0SXOSXOPgCRuz7o7UpzajxKettC/aBdb7JcjwTJve2xfS/2ZQsjnMGqu2ZmpuOQkuOHINIJMrqzG7xSOu8+GVUdi/BMTgRn16FMaW8CtNcyPIBzVlg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740050112; c=relaxed/simple; bh=Eq4CqaiTWbZFE0piZkwfzvY33uZxTMvvcIePmzFhl34=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=c7ddem5rNnwoy4haonvVydY16r36zDqB+5soaCOuLZXJXucgOAs43fyiTVcCtJEs4z022qzdzPNLYTNYkMOto1U12IyCABSrCNfYhYO72S5HtFJJXnSJU9nPJzI4F2HVMnry05LRUEL2/Nnul9F7qqSFPFJ12LTsGcpIqs2xTTs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=BFrPEVAt; arc=none smtp.client-ip=198.175.65.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="BFrPEVAt" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1740050111; x=1771586111; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Eq4CqaiTWbZFE0piZkwfzvY33uZxTMvvcIePmzFhl34=; b=BFrPEVAtxIBARtvACaewP+1tKk9yEilZdw6hHX582SZBMZJabaVvA159 6FKZ4jbAeDZQw/Z64wCpDeGj/A0WllmszD9lEqJP60yKH+EPizizfhlIu LteXtWkbHbHNPXLZFLvZdb3zauTeoSMzwZvyx52e2q789ypAf1OprwSEr RAx2xD+DvI4hJZr9Vig/crn9k2DX12J7qOgqGe3NeJ3xeTHcpi2qH5TNn 02NeEg1dS5n1nC9bcI132rWNjuAGHxEfeZn50Sww4ZTlLJhwXfAuyLi0z V4Z06XAgMv13Jaj8de6AurbupUNTIrLdGYPFKPIAU6WV3Yp+XNMHqkojp Q==; X-CSE-ConnectionGUID: tD676jSXQW+TRTAOmSjghg== X-CSE-MsgGUID: dGPw1WCtS2G00QJxf/7YXA== X-IronPort-AV: E=McAfee;i="6700,10204,11350"; a="51808397" X-IronPort-AV: E=Sophos;i="6.13,301,1732608000"; d="scan'208";a="51808397" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Feb 2025 03:15:11 -0800 X-CSE-ConnectionGUID: WKtwv/LeTVyy6YKQHZgK6Q== X-CSE-MsgGUID: x3jU1gO5SLScHLFdIfYT8g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="114865534" Received: from crojewsk-ctrl.igk.intel.com ([10.237.149.254]) by orviesa010.jf.intel.com with ESMTP; 20 Feb 2025 03:15:08 -0800 From: Cezary Rojewski To: broonie@kernel.org Cc: tiwai@suse.com, perex@perex.cz, amadeuszx.slawinski@linux.intel.com, linux-sound@vger.kernel.org, oder_chiou@realtek.com, flove@realtek.com, andriy.shevchenko@linux.intel.com, Cezary Rojewski Subject: [PATCH 24/24] ASoC: codecs: rt5682s: Update definition of device_id tables Date: Thu, 20 Feb 2025 12:26:43 +0100 Message-Id: <20250220112643.3813295-25-cezary.rojewski@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20250220112643.3813295-1-cezary.rojewski@intel.com> References: <20250220112643.3813295-1-cezary.rojewski@intel.com> Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Follow PCI-based format (10ECxxxx) for ACPI IDs by adding relevant entries to the existing table. While at it, there shall be no comma after the terminator entry and initializing fields with 0 for statically defined structs is redundant. Signed-off-by: Cezary Rojewski --- sound/soc/codecs/rt5682s.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sound/soc/codecs/rt5682s.c b/sound/soc/codecs/rt5682s.c index ce2e88e066f3..5ad0cc3fab7f 100644 --- a/sound/soc/codecs/rt5682s.c +++ b/sound/soc/codecs/rt5682s.c @@ -3310,13 +3310,14 @@ static void rt5682s_i2c_remove(struct i2c_client *client) static const struct of_device_id rt5682s_of_match[] = { {.compatible = "realtek,rt5682s"}, - {}, + {} }; MODULE_DEVICE_TABLE(of, rt5682s_of_match); static const struct acpi_device_id rt5682s_acpi_match[] = { - {"RTL5682", 0,}, - {}, + { "RTL5682" }, + { "10EC5682" }, + {} }; MODULE_DEVICE_TABLE(acpi, rt5682s_acpi_match);