Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2215486pxb; Wed, 30 Mar 2022 19:36:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8xQ+/GQEmXdUpzawCRSPY/dEtkF9arNADCYUG2l7pHE2+zkObx4DuTTI1sWw5GagkTipe X-Received: by 2002:a17:90b:4a0d:b0:1c6:f480:b7f2 with SMTP id kk13-20020a17090b4a0d00b001c6f480b7f2mr3433878pjb.79.1648694170237; Wed, 30 Mar 2022 19:36:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648694170; cv=none; d=google.com; s=arc-20160816; b=bTgC46b1Pbj3aL1L9c9S9IINapGxtmXky5dDDZX7aQlgOxRHJeqvXjYxxk1yOxBn96 Q1iLTMQRQCnJb36mKvidPlDG4HFk2pyEX8yaZ836Im75xm3lqxhxbouKLoUVd7ZBXcPt BGloN93I1lZwttOW6+aQ29fUextSgg0WdZa7I4RRNMzJiphpMETE/j2LqoC5wHlTKcKS ukcnLdd5fFAWd+q6XiIxnUiqDiYzLbuQqFvZ4PVO4SK09tW7YcU6CA/xDVyY36e39s4c 39v1Fm4ZNb+v7dLQqR7D8+bmoCTTJh0dNfEenrTrF+NC9wM1VMu+fyZI6/bT1poy1pB5 m6Wg== 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:date:subject:cc:to:from :dkim-signature; bh=3pX0jjP9LDq6FoOkHogZpzql4qSv7e2GlQe2zq6bDds=; b=aV2mv0cPAk9F5LR5wJE6Z7ovK30iKrPK7/suP83TOEGRS/dmdlReZfr5KVrx1d4Ysj tIG6saZcuCLArRd549xHBjLn3yeEr31pzlxlkgLezjJtZgFjbrzTUw+sAfJpc0pawswz N/gimKemO7vT9BwxLuV2xF8ElrKgu0Ux02nqkyhKWSwhycb0R8+tgLgMA8RJPmcZ3h+a I/IPIF/RWzwlORys1t/9kFpU4cRKJWtzNB1Jd0TWw7XVJymWTaThL6bnfCsFyoSc03zI Yc55i3l2IURPzPbZu30e5e+5at/sQjjTIo0tG6OiKjkeTfXvg4HSclEZIebbmtt06TDU 16jQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=d1iFFCPo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id z26-20020aa791da000000b004fa3a8e002esi20428772pfa.229.2022.03.30.19.36.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Mar 2022 19:36:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=d1iFFCPo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A8C7691542; Wed, 30 Mar 2022 19:31:19 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344693AbiC3MCU (ORCPT + 99 others); Wed, 30 Mar 2022 08:02:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344894AbiC3Lxp (ORCPT ); Wed, 30 Mar 2022 07:53:45 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E1CA26ECBA; Wed, 30 Mar 2022 04:49:58 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 6BD2061616; Wed, 30 Mar 2022 11:49:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BC6EBC340F3; Wed, 30 Mar 2022 11:49:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1648640996; bh=hpbWX8YBC6s4oo45QHF2m7r8EsVxECiMVkMLp+Qwi3A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=d1iFFCPoe2DgXdrAcj+vuxwuNTBbpRRx3ykzASXrNoty4fKcNKW3gLTgghiZmIRRn fMMtS0ZAqv3D9CVNaA7mBekoOesmUnlRHdXXXvbDkB1kH4qwWCIz01Yi7468ZiaYxQ JPB4Jh0wU5I2gCTnaCBA/svNXMnrB1vn/ea23HGFN6xy8jgZL0U824QIMVZTX3+Txb MEwyMZvl1A7Xvsak2fN5cWEV+e5UxLuWhJUXb7+Gzkj9+edk9i2uCrJMXe5r5H/MDh TANxC5BF7taFjA+DZHLKi7JngmggaqHbFyKU5K/YUICfw86jWGn62pffyLdiq2FxoI JWo/XkBqFXkow== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Pierre-Louis Bossart , Bard Liao , =?UTF-8?q?P=C3=A9ter=20Ujfalusi?= , Mark Brown , Sasha Levin , lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org Subject: [PATCH AUTOSEL 5.16 54/59] ASoC: Intel: sof_es8336: log all quirks Date: Wed, 30 Mar 2022 07:48:26 -0400 Message-Id: <20220330114831.1670235-54-sashal@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220330114831.1670235-1-sashal@kernel.org> References: <20220330114831.1670235-1-sashal@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 From: Pierre-Louis Bossart [ Upstream commit 9c818d849192491a8799b1cb14ca0f7aead4fb09 ] We only logged the SSP quirk, make sure the GPIO and DMIC quirks are exposed. Signed-off-by: Pierre-Louis Bossart Reviewed-by: Bard Liao Reviewed-by: Péter Ujfalusi Link: https://lore.kernel.org/r/20220308192610.392950-16-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/intel/boards/sof_es8336.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sound/soc/intel/boards/sof_es8336.c b/sound/soc/intel/boards/sof_es8336.c index 46e453915f82..764560439d46 100644 --- a/sound/soc/intel/boards/sof_es8336.c +++ b/sound/soc/intel/boards/sof_es8336.c @@ -63,7 +63,12 @@ static const struct acpi_gpio_mapping *gpio_mapping = acpi_es8336_gpios; static void log_quirks(struct device *dev) { - dev_info(dev, "quirk SSP%ld", SOF_ES8336_SSP_CODEC(quirk)); + dev_info(dev, "quirk mask %#lx\n", quirk); + dev_info(dev, "quirk SSP%ld\n", SOF_ES8336_SSP_CODEC(quirk)); + if (quirk & SOF_ES8336_ENABLE_DMIC) + dev_info(dev, "quirk DMIC enabled\n"); + if (quirk & SOF_ES8336_TGL_GPIO_QUIRK) + dev_info(dev, "quirk TGL GPIO enabled\n"); } static int sof_es8316_speaker_power_event(struct snd_soc_dapm_widget *w, -- 2.34.1