Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 42F0AC7618E for ; Sat, 22 Apr 2023 03:11:47 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 90213ECC; Sat, 22 Apr 2023 05:10:54 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 90213ECC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1682133104; bh=MXhJirCJ4DxaE5FhkWqx9AEc7N11uqhBBkSpTlMJiaI=; h=Date:Subject:To:References:From:In-Reply-To:CC:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=qXUdrxu06Gv4b81X2SJiTRNZt+FGbBeLIpMlwPxC7s5JrXu6/TCj9DkTzsuAL5LaU Wy3EIUZKZz4loPTMIcJnVQRK4Epfo+PnMYsva5BVmdnsytZEuMckQRyuibf+4y4mmq mhPaICJQKVyeGhw3ysAsqfPr7deCziYbc0skX3oo= Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 3CD35F80155; Sat, 22 Apr 2023 05:10:29 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 3898FF80155; Sat, 22 Apr 2023 05:10:23 +0200 (CEST) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id E15E4F800AC for ; Sat, 22 Apr 2023 05:10:15 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz E15E4F800AC Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=mW3QthzA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1682133017; x=1713669017; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=MXhJirCJ4DxaE5FhkWqx9AEc7N11uqhBBkSpTlMJiaI=; b=mW3QthzA64sQUuVqWB7iWddYncAjO80RifsD2F3x3ajcUcuHItR3Ns3B +oAXnOuTGdgkBIMUc+opH1uPgMNiYDgcvsTriXDTd49OL0V6kE5QF9U6/ n6sPKTXjNQfxZrqyJVeL66PRj485UG4rE2xtCKpFkg2R6hhKXGlQq43J4 X1pTMLXsqxtVES680NJEtJgYDr+XRdCSl5N52dwfC49l9fzHmFipeqB1h zK7el7t7FyW9bxPqKOy+DNLL6a+D+aeMfmLqYw73SKWj7Nw0uTIKundpS YsAT3xtsWyyv3J0DS5umkWFG08cAd9HkkvG2NpGCuqD3P3ImR3dfyN6gI g==; X-IronPort-AV: E=McAfee;i="6600,9927,10687"; a="409062979" X-IronPort-AV: E=Sophos;i="5.99,216,1677571200"; d="scan'208";a="409062979" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Apr 2023 20:10:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10687"; a="761780318" X-IronPort-AV: E=Sophos;i="5.99,216,1677571200"; d="scan'208";a="761780318" Received: from droble2-mobl1.amr.corp.intel.com (HELO [10.255.33.132]) ([10.255.33.132]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Apr 2023 20:10:10 -0700 Message-ID: <51ed97ca-1ea5-064d-81c4-a88a3ace6250@linux.intel.com> Date: Fri, 21 Apr 2023 22:05:46 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH] ASoC: Intel: soc-acpi-byt: Fix "WM510205" match no longer working Content-Language: en-US To: Hans de Goede , Cezary Rojewski , Liam Girdwood , Peter Ujfalusi , Mark Brown References: <20230421183714.35186-1-hdegoede@redhat.com> From: Pierre-Louis Bossart In-Reply-To: <20230421183714.35186-1-hdegoede@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Message-ID-Hash: L7OBBEBIUXAG4YQFQSEUGDAEB7BF5WIA X-Message-ID-Hash: L7OBBEBIUXAG4YQFQSEUGDAEB7BF5WIA X-MailFrom: pierre-louis.bossart@linux.intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: alsa-devel@alsa-project.org X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On 4/21/23 1:37 PM, Hans de Goede wrote: > Commit 7e1d728a94ca ("ASoC: Intel: soc-acpi-byt: Add new WM5102 ACPI HID") > added an extra HID to wm5102_comp_ids.codecs, but it forgot to bump > wm5102_comp_ids.num_codecs, causing the last codec HID in the codecs list > to no longer work. > > Bump wm5102_comp_ids.num_codecs to fix this. > > Fixes: 7e1d728a94ca ("ASoC: Intel: soc-acpi-byt: Add new WM5102 ACPI HID") > Signed-off-by: Hans de Goede Acked-by: Pierre-Louis Bossart > --- > sound/soc/intel/common/soc-acpi-intel-byt-match.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/sound/soc/intel/common/soc-acpi-intel-byt-match.c b/sound/soc/intel/common/soc-acpi-intel-byt-match.c > index db5a92b9875a..87c44f284971 100644 > --- a/sound/soc/intel/common/soc-acpi-intel-byt-match.c > +++ b/sound/soc/intel/common/soc-acpi-intel-byt-match.c > @@ -124,7 +124,7 @@ static const struct snd_soc_acpi_codecs rt5640_comp_ids = { > }; > > static const struct snd_soc_acpi_codecs wm5102_comp_ids = { > - .num_codecs = 2, > + .num_codecs = 3, > .codecs = { "10WM5102", "WM510204", "WM510205"}, > }; >