Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3199675pxk; Mon, 21 Sep 2020 07:42:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2aZ6/6Df0Q4LJkEJ5so7tAFWyb84yCywba13xZfQvJLcvn3kRThHa0b3FmGvbGUNBz1i4 X-Received: by 2002:a17:906:d8bc:: with SMTP id qc28mr51396961ejb.490.1600699355653; Mon, 21 Sep 2020 07:42:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600699355; cv=none; d=google.com; s=arc-20160816; b=dUmDbKply7T/zKIgbT2m2jWehGdPm2+DYDU45GL8jnrnHUDHrks548Sf9jg5b5jpXn JW/H7vw5nQIUu5+Vfi3MjkIqt/b5otl3Z5seClvJLNyHY5Ttxm0rEDwxg+LSEykU3DWH fYBRc1QPTMO9fYqh/5NdezkzNIJ0RjCT3LjjHcBDC38nnQDXoewgTkSWJwuxxk8lNDau EQ4TuJdI+UWG5H4NoW/Q8yuDDuI+77hEVmYG8j4BCR9fJGnKGjZIiL/w7TIW0hVDjZI+ ncx6HBZV98BlhYDzt4dhxyYCVfc1Dwu1ewGfHrSg51kRk60qvouJ8VuO3DOQsXcrWJwL lJfQ== 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=8z6iSJ2LdhOn1GJqcwm+eIWthXB5+7cHxw8PQo6/FPs=; b=nvhglRjta8c0PHYQBxQFoMA+hSoClq5jSfNlM0ncJr8sasAwUoWraU7iENBipe1/5d P96GHlnwZeVXsxEoLDB3wHOz4TZAXbSQMeJQ8EIPAzNkM1FDXYZkR6c0l35yI5+3O7lr ompVIK1HhO3QQcWvtDYk0cMjROw78wpYz27ZCZxx0VAwBcSegQBu2KoB0NbgV59LFI4y AA45y2LIpNAn5J/5JYWS2kIi2YADlqKY0vCAwdw8NM6xXPwKj0BYl2Bv/t7n01hPb52H LZGakQtyio/WDRQq6Oiw5N112dD/q9Kn2OMqeKzQNjl7vT55R1j+nX0hPx6Vr/ucKDq0 BFrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ypjY3deB; 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 bu20si8326949edb.311.2020.09.21.07.42.11; Mon, 21 Sep 2020 07:42:35 -0700 (PDT) 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=default header.b=ypjY3deB; 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 S1727833AbgIUOkk (ORCPT + 99 others); Mon, 21 Sep 2020 10:40:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:49164 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727440AbgIUOkf (ORCPT ); Mon, 21 Sep 2020 10:40:35 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B13C722574; Mon, 21 Sep 2020 14:40:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600699234; bh=ilhWxfOXDu8ezwPzhsBzKr6n7V85uZToBWIv0QvK4u8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ypjY3deB+EBiNQWmQYFj+9ieGUBtcvMePcMjl20yN0ugTiP3RlcdogeCORwrzuZQs XC78y8FNKPQn+fK0DHfDsavfDrkSLXw3c4jOFFP0GF6RBsw+lMppSeX0cF2gmaLdbN FhhRwa7vbc3IoOgYoLGzRCzlG/7QHXPaGqWuP1fY= 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.8 05/20] ASoC: Intel: bytcr_rt5640: Add quirk for MPMAN Converter9 2-in-1 Date: Mon, 21 Sep 2020 10:40:12 -0400 Message-Id: <20200921144027.2135390-5-sashal@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200921144027.2135390-1-sashal@kernel.org> References: <20200921144027.2135390-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 6a0137101f47301fff2da6ba4b9048383d569909 ] The MPMAN Converter9 2-in-1 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/20200901080623.4987-1-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 1fdb70b9e4788..5f885062145fe 100644 --- a/sound/soc/intel/boards/bytcr_rt5640.c +++ b/sound/soc/intel/boards/bytcr_rt5640.c @@ -591,6 +591,16 @@ static const struct dmi_system_id byt_rt5640_quirk_table[] = { BYT_RT5640_SSP0_AIF1 | BYT_RT5640_MCLK_EN), }, + { /* MPMAN Converter 9, similar hw as the I.T.Works TW891 2-in-1 */ + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "MPMAN"), + DMI_MATCH(DMI_PRODUCT_NAME, "Converter9"), + }, + .driver_data = (void *)(BYTCR_INPUT_DEFAULTS | + BYT_RT5640_MONO_SPEAKER | + BYT_RT5640_SSP0_AIF1 | + BYT_RT5640_MCLK_EN), + }, { /* MPMAN MPWIN895CL */ .matches = { -- 2.25.1