Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp430051pxb; Wed, 24 Feb 2021 06:08:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJwhBzc7vwDWAQu/7L+zdsNRkojTATRVh6bQFkpIjAIW3PUIACef7Bp2cyFl0xYk/sSJjQ4L X-Received: by 2002:a17:906:8593:: with SMTP id v19mr1258452ejx.32.1614175715410; Wed, 24 Feb 2021 06:08:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614175715; cv=none; d=google.com; s=arc-20160816; b=ri9fBgYaF9NBz5Jj3uQB8CPLV+edznEldZ4al1A4s/2h2+iIpaa9qC1eQBfIchfjqv VKTzAKTOf//MbEPoqAwA8aGA/7c4KLElJkI7sPxMHwH6tSyvgRff/JY2QKFVWsSivxta MyNzuXxJNjVaoVqGkQHf3lK1/71xZuUyxvYUJ8UGyCl8VKLayH/VPUtnpJ+9Jh0w1Bnq rZXt20Yzq6mUkKVR+Tg3H6CgXYXieeXcQnITKyUL7cZlJ+JxbptoAAvEQxyVVK3C/7Pg 1LvMUCDY+URou67ZF/dHsVEv5GNFGO28V6d2Hu5J/uMuRseHx+LQxTiH24aeElaN+wlb pblw== 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=eTrZls9U+Ew/wrTG3208+iOYTgoi6bkKGaYJ/G3/FGg=; b=ftixiF4O3aDHFan9JXqSkatyDKyNvO356PgChFhwzijGlz9laNMA3fXuqrYYMaisP8 uiiGGACSe+rkRmPSkJM4m2ztsKjIDAKtZ6yT78V5YnryT54Fh5ly41miXBUYHS9Lmdps 0SI2EXje6vUQdDFBxsEzLe7Dq40bEnzQq18QIhcQ/MJn7jwxzI1x2Y0ASJ4OTpI0fP2y M/b4Fgdh4A4BSWKfi3CtLOW2U+qTN8n2Mz4SDa89mFLcUwHpc0pSCw8rMEaLmR8/VY01 gnRV/XL6dDt04NdJDklUxLKuOENnmrakenGlTy4pHXK87A6sCIyDj/i/sLTT1aMECQr+ XqAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=asLR9zMD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v1si1155128edb.592.2021.02.24.06.07.44; Wed, 24 Feb 2021 06:08:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=asLR9zMD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.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: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238213AbhBXN7Z (ORCPT + 99 others); Wed, 24 Feb 2021 08:59:25 -0500 Received: from mail.kernel.org ([198.145.29.99]:58434 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235808AbhBXNHT (ORCPT ); Wed, 24 Feb 2021 08:07:19 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9961D64F90; Wed, 24 Feb 2021 12:54:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1614171269; bh=s+3qS8U9zZoqWJkBLub5cF7B21NBs6Yw7kkuVI4HPQI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=asLR9zMDeGNexoQktlFLOvffjB6hQNhsxg60q2zkjpnPl9lC1QjWh8ANyInP4YuOH 8ApbFSpbQe5iHxtXT6O07b+qd8rBCDuQaCN6KD11CwgfwitA+S/vzDf0ot6mTfpsEF 3TzT6vrOa7o45qrOZu7NriJ7cFEIWL/4gpm9gQtqPN4YAwOBZWay/4SuuBz1nyf+4c wDP4BMewDvPVahOVQwz3xnuVRKyTnJxRWAHTK0fGn2CyAJ8XfdZpAKbVZS5so4dQsS SbwKF+9YVDrENEIXTCdiLcs4VNDLVmwulMKQpjjkzTENVgoTRk/UKMTOqyN53M6JSn 1RVC87+TcudHg== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Hans de Goede , Pierre-Louis Bossart , Mark Brown , Sasha Levin , alsa-devel@alsa-project.org Subject: [PATCH AUTOSEL 5.4 37/40] ASoC: Intel: bytcr_rt5640: Add quirk for the Estar Beauty HD MID 7316R tablet Date: Wed, 24 Feb 2021 07:53:37 -0500 Message-Id: <20210224125340.483162-37-sashal@kernel.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210224125340.483162-1-sashal@kernel.org> References: <20210224125340.483162-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Hans de Goede [ Upstream commit bdea43fc0436c9e98fdfe151c2ed8a3fc7277404 ] The Estar Beauty HD MID 7316R tablet almost fully works with out default settings. The only problem is that it has only 1 speaker so any sounds only playing on the right channel get lost. Add a quirk for this model using the default settings + MONO_SPEAKER. Signed-off-by: Hans de Goede Acked-by: Pierre-Louis Bossart Link: https://lore.kernel.org/r/20210216213555.36555-2-hdegoede@redhat.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/intel/boards/bytcr_rt5640.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/sound/soc/intel/boards/bytcr_rt5640.c b/sound/soc/intel/boards/bytcr_rt5640.c index 6012367f6fe48..cdbc00c773386 100644 --- a/sound/soc/intel/boards/bytcr_rt5640.c +++ b/sound/soc/intel/boards/bytcr_rt5640.c @@ -513,6 +513,16 @@ static const struct dmi_system_id byt_rt5640_quirk_table[] = { BYT_RT5640_MONO_SPEAKER | BYT_RT5640_MCLK_EN), }, + { /* Estar Beauty HD MID 7316R */ + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Estar"), + DMI_MATCH(DMI_PRODUCT_NAME, "eSTAR BEAUTY HD Intel Quad core"), + }, + .driver_data = (void *)(BYTCR_INPUT_DEFAULTS | + BYT_RT5640_MONO_SPEAKER | + BYT_RT5640_SSP0_AIF1 | + BYT_RT5640_MCLK_EN), + }, { .matches = { DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"), -- 2.27.0