Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1978553pxb; Fri, 5 Mar 2021 04:38:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJzmNM5o1v887/CyvyfSRui1Gr4YY4A4h/Hggcel5EXUcpsqUbwkyvHBunFAEEFJUDlg4yDU X-Received: by 2002:a05:6402:1d39:: with SMTP id dh25mr9105853edb.282.1614947905551; Fri, 05 Mar 2021 04:38:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614947905; cv=none; d=google.com; s=arc-20160816; b=FrxC6CtmP07V3aN0FAuQMr3A6PA+1GzpCFfrNbTXMhpY+yLaoOvg43qKIMjPV3TasZ T10dEpMzCYb7R6K/9bd+m1CXo/TVNBYDxvQfwljucWuY0ILJeZrUxdviN/qEv8LXurlz YzxAnDSc1iPKIPab3A3AshHM8Ra693rrvRxUNdSWWrAeDpKzSj52q1AdcRIZLzf+U4YA 8GsF/o5/c5dyZGGHGW1coRU/b3n1BI1Aayv6EoqkK/DbW/848vY5+4ZK6wUkZcHZEcoZ 0kh4yeFGiB2sOnzO+PW3o9T3YpXCfrMjhsO26scVPrC9cZRPmPMtw3I6QfI+sAXa78ml LE6Q== 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=Qj1IyYv67l7iSwNcSP46cYHjBn6meVnZR/6tTOF2Zyo=; b=cJpa7SzDjd+4jnbeokNqEBGzt7wYuEgJPFk6diQ3nI41hEZeifEIVHFazBnuu8PQ+d RNVPTYKMAsoqCIXkKATTEdk8odD9IGs8hMND6R34s/dQJMg33SFIyDfgx0uLe0YZYht3 AG+lbTvJxjuAdywQh9f0vCUIYcsbYj70/gpJRiX3J9i2/pejKUYPzWrc3SkpCN8A16tp LZWqj8Pzb0/g5vlZFh2nNVpn8kGUVls2Ny+y/5j00BEbh3FnOMICqfzZEBu9nUPdB8eJ KkWISWCrrEFj74dPLi62sjbdpfrpr8n4GMk6wZ4rs7wer6PdX/gH3na/J5a7CtxxXdwo ABUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=CAAn4g4w; 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 f7si1462038edd.574.2021.03.05.04.38.02; Fri, 05 Mar 2021 04:38:25 -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=CAAn4g4w; 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 S232489AbhCEMgW (ORCPT + 99 others); Fri, 5 Mar 2021 07:36:22 -0500 Received: from mail.kernel.org ([198.145.29.99]:48392 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232842AbhCEMfz (ORCPT ); Fri, 5 Mar 2021 07:35:55 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id B565464FF0; Fri, 5 Mar 2021 12:35:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1614947755; bh=fP+6ol2a8QTVxVEPDY1+isT0yNqBWbmcuW53BCUI0P0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CAAn4g4w8LB8lylZCEXon6ZIcUchfwUkFOJ2EK0XpPDGfWR+AODdx+9UrWlk/+ENC 4IqHe3ZPJIkh8G4JHJTcXZHu2jFJQdYfb9pO/1iFPUNbG4rQOWmCAs9N2cBDJ/Ejad YvmTDzSllbHlbxxT3ioVmuEVZ/9aqQH261y3nZKM= 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 5.4 57/72] ASoC: Intel: bytcr_rt5640: Add quirk for the Estar Beauty HD MID 7316R tablet Date: Fri, 5 Mar 2021 13:21:59 +0100 Message-Id: <20210305120900.132796597@linuxfoundation.org> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210305120857.341630346@linuxfoundation.org> References: <20210305120857.341630346@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 6012367f6fe4..cdbc00c77338 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.30.1