Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp607996rwr; Thu, 20 Apr 2023 04:09:25 -0700 (PDT) X-Google-Smtp-Source: AKy350blOSrQwlD3as0mVysWy+HJ05gE8N0bLIH8Dew+sqlFM1xJxc4Iv9CBJZZZV/ek07BXiOl2 X-Received: by 2002:a05:6a00:1348:b0:63d:5cb7:2dff with SMTP id k8-20020a056a00134800b0063d5cb72dffmr1255056pfu.33.1681988964639; Thu, 20 Apr 2023 04:09:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681988964; cv=none; d=google.com; s=arc-20160816; b=EdyyugvDyS1IN5hH34wh6VwtUGZ2uFMOCPoikkwMcQt96Npe5KLYgE7hupE5Tjfj+g 7azFVBj2W3ezdGMuIl34EPoqvfJqakUFbomYL8YoUJXBVaRrUxaVq+q9Ywzm23705klb a8IQTVakR6XfqXbRDHxfRWmyqbbYKaf93VbF7k4lrFm1ilbNdaDwmMFmCbce+tiGYS6J l7Xxs8jITAizmmYb3EMZANKGL0REV+484/2FtiVudyjyaHeMxywomQ2zqbbnSg6PcXPF DKEHVDSBpya8ONcA4bCwfdgQ+JcU6NpJsaWDnIHWHwyUkeHpzewTQjEeCXm+bk/KxsEW 2psA== 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=YxVVvMKFGLFFSNC2yJCneJMPkerXcLlsWzcFqR1SPrQ=; b=blh7mTib6W9xK4JTLBkiyFhwRESqAjXv6+oc3nRAt1HWFJE/CeYvhFtnUjNHA/JllT OFIs4ANAbwElM1eQ05KAmOKPfDsz4Pk6AeEs6L025oFu0f65ymxmds9hlg/U2UWTdJ6B P9h7Y0X0o1ZH4SeDSJMUe+QHj3SLpEFkGcVZTu6ybTbOkxU+dEr0uZ4ZF+u/rkjcESaW exMon/GZ3mHAeNaK5QHtj8CYwN5FDeLxFf5XV4OwaEQy2dOKoolXd2rEYRyd+gw5A/eH VfEFv4s90Ytvm1R3RPcBFFEM4VFvDqZC8Y+mCqU5/oGcW/1/e5wLBZgJPINdVerU8PU3 MuKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=W+8VgrRL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k186-20020a6384c3000000b0051b1d717745si1432410pgd.759.2023.04.20.04.09.08; Thu, 20 Apr 2023 04:09:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=W+8VgrRL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235235AbjDTLIL (ORCPT + 99 others); Thu, 20 Apr 2023 07:08:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234337AbjDTLGx (ORCPT ); Thu, 20 Apr 2023 07:06:53 -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 33EB46EA8; Thu, 20 Apr 2023 04:04:12 -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 A43BA61806; Thu, 20 Apr 2023 11:03:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 58C7EC4339B; Thu, 20 Apr 2023 11:03:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681988616; bh=V6Ny1NJ/GvtGEhkh20qJcpxqEEJMH7RqmcRl3CsCd9M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=W+8VgrRL8SpfeJR+ZfLcUaHPbvksXNlI9dQbzAL/icyugcgrWcCAH1iy+yybJHuBf nnF7N1fiesJrRMKwwaNAMFnM4ByYZ2xiQZfDqqiIES5DQDNbHJFZAc1KAJILTjThYv NC7iba9PpCr7QTItNdEOBSjtVtOyNeaJlJtU15D+URgChKiO91AfndL6hgRHIJvIzj TZ+WzgOMfL35IbLYepX0PGqYXRqcZWaWCvzVlQ8bxa/xHR1s8IZhmPy8UAgDl/zbkH H4T02UAcxt5puVYyWO9oLF8oMeWJKtChSWpot39joYVTxNw4IpmbfWBRzuQqFiu+mb 0GZHzoEqo4RYQ== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Hans de Goede , Pierre-Louis Bossart , Mark Brown , Sasha Levin , cezary.rojewski@intel.com, liam.r.girdwood@linux.intel.com, peter.ujfalusi@linux.intel.com, yung-chuan.liao@linux.intel.com, ranjani.sridharan@linux.intel.com, kai.vehmanen@linux.intel.com, perex@perex.cz, tiwai@suse.com, andriy.shevchenko@linux.intel.com, amadeuszx.slawinski@linux.intel.com, moisesmcardona@gmail.com, ckeepax@opensource.cirrus.com, alsa-devel@alsa-project.org Subject: [PATCH AUTOSEL 5.10 3/3] ASoC: Intel: bytcr_rt5640: Add quirk for the Acer Iconia One 7 B1-750 Date: Thu, 20 Apr 2023 07:03:24 -0400 Message-Id: <20230420110326.506279-3-sashal@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230420110326.506279-1-sashal@kernel.org> References: <20230420110326.506279-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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: Hans de Goede [ Upstream commit e38c5e80c3d293a883c6f1d553f2146ec0bda35e ] The Acer Iconia One 7 B1-750 tablet mostly works fine with the defaults for an Bay Trail CR tablet. Except for the internal mic, instead of an analog mic on IN3 a digital mic on DMIC1 is uses. Add a quirk with these settings for this tablet. Acked-by: Pierre-Louis Bossart Signed-off-by: Hans de Goede Link: https://lore.kernel.org/r/20230322145332.131525-1-hdegoede@redhat.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/intel/boards/bytcr_rt5640.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/sound/soc/intel/boards/bytcr_rt5640.c b/sound/soc/intel/boards/bytcr_rt5640.c index 8a99cb6dfcd69..9a5ab96f917d3 100644 --- a/sound/soc/intel/boards/bytcr_rt5640.c +++ b/sound/soc/intel/boards/bytcr_rt5640.c @@ -393,6 +393,18 @@ static int byt_rt5640_aif1_hw_params(struct snd_pcm_substream *substream, /* Please keep this list alphabetically sorted */ static const struct dmi_system_id byt_rt5640_quirk_table[] = { + { /* Acer Iconia One 7 B1-750 */ + .matches = { + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Insyde"), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "VESPA2"), + }, + .driver_data = (void *)(BYT_RT5640_DMIC1_MAP | + BYT_RT5640_JD_SRC_JD1_IN4P | + BYT_RT5640_OVCD_TH_1500UA | + BYT_RT5640_OVCD_SF_0P75 | + BYT_RT5640_SSP0_AIF1 | + BYT_RT5640_MCLK_EN), + }, { /* Acer Iconia Tab 8 W1-810 */ .matches = { DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Acer"), -- 2.39.2