Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1979561pxb; Fri, 5 Mar 2021 04:40:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJx2HXEHtqWvnb7C6Gtgc6w8bVJeaTR9tbsWNmjq6uESq5Pe1Thz+jDZTbPTSBgdd6OTkqXh X-Received: by 2002:a17:906:40c7:: with SMTP id a7mr2046815ejk.109.1614948003233; Fri, 05 Mar 2021 04:40:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614948003; cv=none; d=google.com; s=arc-20160816; b=QqJQ7a3WIMZH0UZHW/V1nsbbrKY06zvlaalVGHvKKQZvvMvCq39cACbPKqeNV1LNdH wyrhrIySNDPTgOZh4UnTOPydtgZZtREyTjL6QaYTz4CMyg55r6fde87dVCDeDMlzmn0+ N50ga0/e+t4y/TQbQuneOIuS8bsHWnwxbos4rTvwdyzakqV42FlDA8Ap2fIK/S4OzcIl rdTlGbDBgrd2UvBFBN5Q4DXuyoBxN6VJu6sxyae0ZRPVQBFIN27ODfBBQ4SLSDAodYye rk3n1eXkg4b9gyUwJOhzFJ/7UM0GRC9ITMTPCkPTwLdZsYxQ+pd1+YdhnNjFlEhVL1Xr DS3g== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=mw38eJiarojpnxoZBMpf0jcJjPXXId3l6WRr9+H6Ty4=; b=S1pFBpCeh/hyfIBKKxNBnnXtyuT/KRepl4rgJP+RXY4yWfTbTN/pErdDP5mpo7e+Wl PGVv/8wvr8K/59pP17xp0jGAsZrsh7ltIoUEP3xeRtqhMZUBY5+utd3jvuVu9l8EKJ9R MpN069kKyek5ZWmr9f2yfKuswG9oXTWN2VeEB1pGcs1H8C5Yf/e2C08+plPiF4Omk0M4 gUaVEGMrD++nOLe8skcZdgbo9omHrgTQ8OOgZ2q+Mv+mwyVLQGoL9hHqED2AuNM1f3OU HZyYKgAgBhtTmVIwt5Y190aRSmbuuFX/DqE7Lelcn/EBDiFgnJx2xYcJz4P8kwZg5Kwj L5Gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=2UXFCmnl; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l13si1328685ejg.121.2021.03.05.04.39.40; Fri, 05 Mar 2021 04:40: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=@linuxfoundation.org header.s=korg header.b=2UXFCmnl; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232992AbhCEMir (ORCPT + 99 others); Fri, 5 Mar 2021 07:38:47 -0500 Received: from mail.kernel.org ([198.145.29.99]:50906 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231830AbhCEMhm (ORCPT ); Fri, 5 Mar 2021 07:37:42 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1861065038; Fri, 5 Mar 2021 12:37:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1614947861; bh=uHwE5b39BbQImqBuMWaHLjLW40f/QDURmD7jZWdCQWw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=2UXFCmnloc4gKDOAh+I0l5vTkMmZxKzHhbzYWktcR1gRpqy9S7sCCPDbaJQ4pwfQq KkSlgmPqRRNuBkiew1gIY3VXfmfKbA5+sFpnyA0J8FZgwqvd524J3HPHW9C5mT2DtG LJh6ezJ7dDFjFxCwWVuyfzT9JSis7YmQvEExb8j8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Hans de Goede , Pierre-Louis Bossart , Mark Brown , Sasha Levin Subject: [PATCH 4.19 39/52] ASoC: Intel: bytcr_rt5640: Add quirk for the Estar Beauty HD MID 7316R tablet Date: Fri, 5 Mar 2021 13:22:10 +0100 Message-Id: <20210305120855.578708953@linuxfoundation.org> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210305120853.659441428@linuxfoundation.org> References: <20210305120853.659441428@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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 ec630127ef2f..4dd1941d4147 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.30.1