Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1131201pxb; Wed, 6 Apr 2022 09:25:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyjNtmJeWQ1c+3C0iNq3nrS50Vk7HLIC/prokhwn6oIzEtrklsPuAER1drJTPDrfp0SF4kE X-Received: by 2002:a17:902:f64d:b0:14f:fb63:f1a with SMTP id m13-20020a170902f64d00b0014ffb630f1amr9420402plg.159.1649262326178; Wed, 06 Apr 2022 09:25:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649262326; cv=none; d=google.com; s=arc-20160816; b=hKl5hDbpZi4niIZ07IufWwr47nAn3EFAjaj+IpEFenIVYPZYWv/XMpznjHJ+/3vTBD ZVh6j2zPDqNW+u/QAGHu1GE/O46Jy5/e+ufVLyoWhVlxQzPJPV6SxmQM0fyyD0RhF4R/ xtj/opR+UB/tAP1Jp+djMxGo68prq4HzSHzdHov0x5hayISCPZBodlThaYob6PvsyL8L gZSDYtqq38qi60DzZTdQdoXWhngjMFRwn3Oe0P6mO+4M/c0Jc4aCx53jCszOJX9FUDe5 MWQPLzyOG9v6NgdCTfgXUOtp20zuiybmAq/4CNr5dj6veC22dR5hNPbpoVet5/Ste1mi RggQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=BdthzWaReLpThkThGqwOuUZTwTalGwRD8lLBN2WSc8Q=; b=SrM86MM3fPagdQFsi0PIo5a1GEwhbsZv9EH4en6uLM7xxs0vpHCJmnNDhaVNtlPHTr DIToMcB3gtNeNYWZqhagJdRCMbE3b2B3a46FRrBs233Jv6L4a2sINcvurmZRLmklsbPY j4VIbOMDGA4sEhSPqF6lEX8XQXnSX5WyIgqI+oGhSff9nIrd1zI5YMYHqw50OVhfkC1S pctSVn+tUUnosBnpzXZfE9HhJvF/+x2oFDpbWfu8AzOIqrfxrm5P4/OUGW/nCYQUcl2d ZZ8jUzekr8o/vUVvqmgfZX2Q6KNw8AOvcYkNl41UmX1+5WjYncNt4oiWx00BXuT5AfUX 4Q1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="jg/0U5pU"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id e1-20020a17090301c100b00156b39b2ec0si9146557plh.111.2022.04.06.09.25.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 09:25:26 -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=@linuxfoundation.org header.s=korg header.b="jg/0U5pU"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 201FF4C1BEC; Wed, 6 Apr 2022 08:27:44 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236086AbiDFP3d (ORCPT + 99 others); Wed, 6 Apr 2022 11:29:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236073AbiDFP25 (ORCPT ); Wed, 6 Apr 2022 11:28:57 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03402B6455; Wed, 6 Apr 2022 05:28:52 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 8CE0DB8232E; Wed, 6 Apr 2022 12:28:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CDBA3C385A7; Wed, 6 Apr 2022 12:28:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649248130; bh=lhzl1U57Qe8cjpHuHqDEXubDES3eaV7uHmLhtyalQ1I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jg/0U5pUsnx+jbVWrFL7q/ngQlHrBAwc3atxGVQouRkrO7oXOt6F014Ujm6IzfeBd xiEpxheGzmBtFm9CZkoLcV9ojfigdMElSsVOhtC18aoSiTkC0OJr3W9b2O5nW6kHIU jSp/4V6YCZ3SXB4BJ2NWMfc4yoI+xiNpyiitBSKE= Date: Wed, 6 Apr 2022 14:28:47 +0200 From: Greg Kroah-Hartman To: Stefan Lippers-Hollmann Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Mauro Carvalho Chehab , Pierre-Louis Bossart , Bard Liao , =?iso-8859-1?Q?P=E9ter?= 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: References: <20220405070407.513532867@linuxfoundation.org> <20220405070435.188697055@linuxfoundation.org> <20220405214409.52f3ede7@mir> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220405214409.52f3ede7@mir> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,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 On Tue, Apr 05, 2022 at 09:44:09PM +0200, Stefan Lippers-Hollmann wrote: > 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=m): > > 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_es8336_probe': > /build/linux-5.17/sound/soc/intel/boards/sof_es8336.c:482:32: error: 'struct 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: 'struct 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: 'struct 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: 'struct 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/intel/boards/sof_es8336.o] Error 1 > > Reverting just this patch lets the build, using the same buildconfig, > succeed again. Offending commit now dropped, thanks! greg k-h