Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp940628pxb; Wed, 6 Apr 2022 04:55:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwsbvLGblmiZV/LB5MFn4Mnhv8jy4l4QUPqzn2+UsCC9qul0i4QiefMPzArN14qbwgRKr0p X-Received: by 2002:a17:902:d4cc:b0:154:3174:e4ff with SMTP id o12-20020a170902d4cc00b001543174e4ffmr8235701plg.134.1649246116211; Wed, 06 Apr 2022 04:55:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649246116; cv=none; d=google.com; s=arc-20160816; b=aHCn5hP3asTDzO5p334pvmC2ZCwIZRgjGnpGTloYLgqHkW53iWaBdw8aET7Xe+TYnH xthqodgDNzIR8eDgNk2yRRRWydrM4GrIdmMVF0kc1C3ys2CnvqvrlFuliVFwt48xXu0x aXxyAv3hxRx6LVtlWPEdOfmGopJjHGWUuhlmWZUwo/HHNBnsMi9JesJf8FKTu08lg7A5 ptF7BNa0L+nan7iq8d05EXnYzJ78ECxwKIDEfcMEJ0t7wNVVdRPv2fYbC8K9VNpz1F8R 4IBVNKwsFVX30ZL1jEKuqEjf3q1IkwcndSrwNHsPyk7hCZ86xJEG9z+lpgAzGrQyL5gW IjXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=ppBnaWCyIZ8xaFFfRD6DQ4K3sNAxMegtwqv2JpcP9Oo=; b=Bm4JuaJETqliopxpAAzojEGlRaElARUTMDnSfywB1J+blf2hn+VvTTLJROJqlgz8zy 5RU6XMXgzKK8sXcQLXd0WlVtaotsp8ZFJzJqZQGF2wJoA8ti3QWetwsJ8AL8XoMj2eZZ jsH4uH11kvBhuJ0afYwOJWpal6Z3R7Aa+67m2fl1vKHxFG9kuX6TDlAjtROlsMPclnJP 8xvKxC8MqJBCaZ0OFU+PSttx3mHxxN0bHIzO8lDkPjgXneZBX0rnwb0pA87s7vgbxowm IP3v7JaEkyST2uQLfJmOZ8eDDovBqnL40TsjJoLf0XeJj6fvGbVRl/cO43kjxsNy4FKt TC+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b="c/J3VEbn"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id mw11-20020a17090b4d0b00b001c6f8baf3ebsi4920260pjb.124.2022.04.06.04.55.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 04:55:16 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b="c/J3VEbn"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3E9C464BD79; Wed, 6 Apr 2022 03:17:41 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354984AbiDEUXW (ORCPT + 99 others); Tue, 5 Apr 2022 16:23:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1573704AbiDETqW (ORCPT ); Tue, 5 Apr 2022 15:46:22 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C96E414087; Tue, 5 Apr 2022 12:44:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1649187852; bh=BXQ8G9Dr8k3xNyKxt7GcxOAd7iGTbrc+JOzLOV5RqvU=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject:In-Reply-To:References; b=c/J3VEbnYefBqbKhuaYmSYCRtp8LljUH7n9dOo4nnNZyr/chN6HnyRR2f7h7wSXjd CCp6+n1Djb2DYTiMbm/j3bRU3URtxO9YD6n/ciZOTT68EN/kgQNE6G+qO8BuwVF+Aa Z/BG5CoNCMGhSTKZv6KKnZlFy+Hu9peAKDBI8yaw= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from mir ([94.31.89.21]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MFsYx-1nmYTr0qh5-00HMCU; Tue, 05 Apr 2022 21:44:12 +0200 Date: Tue, 5 Apr 2022 21:44:09 +0200 From: Stefan Lippers-Hollmann To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Mauro Carvalho Chehab , Pierre-Louis Bossart , Bard Liao , =?UTF-8?B?UMOpdGVy?= Ujfalusi , Mark Brown , Sasha Levin Subject: Re: [PATCH 5.17 0943/1126] ASoC: Intel: sof_es8336: use NHLT information to set dmic and SSP Message-ID: <20220405214409.52f3ede7@mir> In-Reply-To: <20220405070435.188697055@linuxfoundation.org> References: <20220405070407.513532867@linuxfoundation.org> <20220405070435.188697055@linuxfoundation.org> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:txWOjwm3T5sVY1g/TCsV7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jq37r4lX4loLhMIxeXmajO6XLesEAE/ds3FPLndc3aYQxHsQE+ox2HOUj klqYvT43Hkm5iITxZrRdqqQHE6U0lTWrvH0Lb5FRaebn0pH463CJrFcMPlZxX2zuxF7hI6nvo kZyXRP3Ch9etZZ4WwxI7A1rOnhDWcWJ3zxCwsLhyyRGykwVUdgJ4suQu8ILhqxYHKeMKImfUy iqQIBMXOU6QLKrnjwBNmk3SXosNXy6RQdw8NHNWKHXmR9a20Wlm+MKCqchTz9fKbA5Oij+Jae xVcIxNv7OQiY/A= X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi On 2022-04-05, Greg Kroah-Hartman wrote: > From: Pierre-Louis Bossart > > [ Upstream commit 651c304df7f6e3fbb4779527efa3eb128ef91329 ] > > Since we see a proliferation of devices with various configurations, > we want to automatically set the DMIC and SSP information. This patch > relies on the information extracted from NHLT and partially reverts > existing DMI quirks added by commit a164137ce91a ("ASoC: Intel: add > machine driver for SOF+ES8336") > > Note that NHLT can report multiple SSPs, choosing from the > ssp_link_mask in an MSB-first manner was found experimentally to work > fine. > > The only thing that cannot be detected is the GPIO type, and users may > want to use the quirk override parameter if the 'wrong' solution is > provided. [...] This patch, as part of v5.17.2-rc1 seems to introduce a build failure on x86_64 (with CONFIG_SND_SOC_INTEL_SOF_ES8336_MACH=3Dm): LD [M] sound/soc/intel/boards/snd-soc-sof_rt5682.o LD [M] sound/soc/intel/boards/snd-soc-sof_cs42l42.o CC [M] sound/soc/intel/boards/sof_es8336.o /build/linux-5.17/sound/soc/intel/boards/sof_es8336.c: In function 'sof_es= 8336_probe': /build/linux-5.17/sound/soc/intel/boards/sof_es8336.c:482:32: error: 'stru= ct snd_soc_acpi_mach_params' has no member named 'i2s_link_mask'; did you = mean 'link_mask'? 482 | if (!mach->mach_params.i2s_link_mask) { | ^~~~~~~~~~~~~ | link_mask /build/linux-5.17/sound/soc/intel/boards/sof_es8336.c:494:39: error: 'stru= ct snd_soc_acpi_mach_params' has no member named 'i2s_link_mask'; did you = mean 'link_mask'? 494 | if (mach->mach_params.i2s_link_mask & BIT(2)) | ^~~~~~~~~~~~~ | link_mask /build/linux-5.17/sound/soc/intel/boards/sof_es8336.c:496:44: error: 'stru= ct snd_soc_acpi_mach_params' has no member named 'i2s_link_mask'; did you = mean 'link_mask'? 496 | else if (mach->mach_params.i2s_link_mask & BIT(1)) | ^~~~~~~~~~~~~ | link_mask /build/linux-5.17/sound/soc/intel/boards/sof_es8336.c:498:45: error: 'stru= ct snd_soc_acpi_mach_params' has no member named 'i2s_link_mask'; did you = mean 'link_mask'? 498 | else if (mach->mach_params.i2s_link_mask & BIT(0)= ) | ^~~~~~~~~~~~~ | link_mask make[4]: *** [/build/linux-5.17/scripts/Makefile.build:288: sound/soc/inte= l/boards/sof_es8336.o] Error 1 Reverting just this patch lets the build, using the same buildconfig, succeed again. Regards Stefan Lippers-Hollmann