Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp438529pxb; Wed, 24 Feb 2021 06:19:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJwCDAZaN89vKx7w8KbfOxJr894/3uzNFPfg3pwRWWOTrAiMiI42mXkWPBlN8ONQarPhQlC4 X-Received: by 2002:a05:6402:438e:: with SMTP id o14mr9606696edc.215.1614176343642; Wed, 24 Feb 2021 06:19:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614176343; cv=none; d=google.com; s=arc-20160816; b=nJ+/gYNvsWMyptNMFrKPskNDRb1PN51wvTabgZTAsoo8pqU1WaeuWmpUHI41qBV6r7 LnEAeu7IgLiCI9zi+4K5Txm8Fqk7TATZMHMXqfBABTZoT08iqxBYmq1diAfHCM7Ha7mL FK9u6/8ImuS30D0TQ5HLHXrn+X4r2VXCfR9Q7dtVJi4L1QpW7nEIoFdtsy3h05/u69Yy 6vL75yLgZ1IVdir/3fToQj1NynaJkz/8PEyPKpgCP/g+wKLQlkLOuQj5Az33I2vXLrxz PzikWW3KLNizSKAtfCNA/C+6lE3LFxIya7fD+uabny8qw9hpicsPCQ+i4aV00/BDJOeF 6EbQ== 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=+FFSuqshbpL9KIck5XtVvRv37IwDKHrEub2XVyWLs94=; b=L86lm6XsHECbMHTj4UehbGM23vd/fTG5t673A2lXP55/ho2ws/7Tw/fj1AjV8ORTwq +d+0pkCEW49nabrvCKGasLVSdHhcKxLJT9fpowapdZOqySArj2nrj7zgQCLCtTyl/KsR lwdx+sBsOJhUQmKSFPnEnAMO9Pi6j1RnzJu+Sid2F0CBb8zGkTGHfymGSLUJ1VhnRBbQ Eu7PNxZI/OxOQxM/dP0fJKiAWr9xK5FR7YAauijsAombKNC9Q5PQ7Y1HMqs/H0b7kbWX pDTw/JEGIYQSvj6h9L8T7Yj93PwZqdLEzBopQoEpb9eSZgi4nKXqFSMe7rwN5NKJvpyg RyUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HN5x+Xk6; 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 gv18si180922ejc.674.2021.02.24.06.18.16; Wed, 24 Feb 2021 06:19:03 -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=HN5x+Xk6; 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 S235862AbhBXOO0 (ORCPT + 99 others); Wed, 24 Feb 2021 09:14:26 -0500 Received: from mail.kernel.org ([198.145.29.99]:59340 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234546AbhBXNKf (ORCPT ); Wed, 24 Feb 2021 08:10:35 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 81C9764FA3; Wed, 24 Feb 2021 12:55:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1614171306; bh=yQAgMDyITst9g0NyJRGTB4/GSgpl4NRKvwYNCcA0daU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HN5x+Xk6x/cf5hYFTQjaBxbztRlSwJfaLnhqVesRyXFjCZ1ObMrYj3qFTBnnj9aqU KFxBx//vKT+OZxag7fF8P5H/lS+Y65bu/f3YdlYgXP72853DeosDMaevxFwtoQQow2 XxGTY1z2rDmhUcXENGrB2TmxkvJjPVdarwXQRXcYJl6CsGlGb9BAJrvNpPJYcGWYHA 62meBoQ4CrmTKr3+Svl4DNIu3t1lcol82qX6jZbxPcFqplvPu2WtwLgLGIbdaTqm8o YYlbVYZLZVQ5nJ3KKkpw8BfEuhLTfe4icQlcfPRaYwc6X6KxLOS9LDVef3+iTkRdwf XrglrnnefZJmQ== 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 4.19 24/26] ASoC: Intel: bytcr_rt5640: Add quirk for the Estar Beauty HD MID 7316R tablet Date: Wed, 24 Feb 2021 07:54:32 -0500 Message-Id: <20210224125435.483539-24-sashal@kernel.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210224125435.483539-1-sashal@kernel.org> References: <20210224125435.483539-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 ec630127ef2f3..4dd1941d4147f 100644 --- a/sound/soc/intel/boards/bytcr_rt5640.c +++ b/sound/soc/intel/boards/bytcr_rt5640.c @@ -510,6 +510,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