Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp262873pxj; Tue, 18 May 2021 02:49:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzCX5r1jwK45jO/uDn7bpUMWB5UVaVSQRVaE0VvpdpBMS63as6e3y70MVFngdR4yXyGJmyy X-Received: by 2002:a17:906:15c7:: with SMTP id l7mr5248742ejd.167.1621331375614; Tue, 18 May 2021 02:49:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621331375; cv=none; d=google.com; s=arc-20160816; b=eEtdu3oORYWAJ0sRC+EtZg/+w+PeYtG2/hFT8SsdW2r0EpVGJ9hr8L3o93fA9XSu0/ kdgXll+lf52cMoAsf59G82V1Y6UHfY9ovsovkMNxIQZ91MRH95zGBySb5w75B9+8CKlV y17hsi/7z2xFdhQfCxBXu+We9pBo77eB5rd+95Ur1iS9bCSFAzELVVOSFBzdZ3L4aCOL pEOyII6/FUk27MIjk+2xdgGV2qV0W/o7mjfOLS0tm04W1wOyN3zD2JOQzYv+sbyH4CWV Ii8Ete63sO7J9HmrLX5SX1TUVo6y90K5XW76ycPuhvLJMzKunFhfn9V/iTEnTbn0K4lO Up3g== 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=qH8HJHwGjYRo+9IvcbC2PsHSqStJRGdMLumxKPcD4Ko=; b=Bh88jwYfiIb71ULgHo43WBn8VXWU0ys3DXsQ22Ebap7wBhZKa0E9Dmdg2j0RzIshuO XfYoaqF8VxbMdxcuN2lIEvPv1Ntoz+rR/LgbQ+ZoJFzGZO3CPCqVWWCUuQXAhhit7LVH qLcBwYOBuPhcCC6F4aNJQbIScNlTZlAHqwmJ4qXCL4cmyIRcMT3epraXyxvmhE+3Fks1 U8a6gjcRvlDXKwuccaB1Ao8j/A/EBG7ulFI39Y+rMtlHzDIF2HHPOW4sHOmxFniXvg2j Xnl5qVAfQrYQQUP9YOaHWFRO7Q4HauQyrrxJB16Anigu/zZkkYzl3A5AEucGdPSk2BTA BpHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=dNubAmeU; 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 n25si18116339edv.9.2021.05.18.02.49.12; Tue, 18 May 2021 02:49: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=@linuxfoundation.org header.s=korg header.b=dNubAmeU; 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 S243474AbhEQPKK (ORCPT + 99 others); Mon, 17 May 2021 11:10:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:60014 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241378AbhEQPAi (ORCPT ); Mon, 17 May 2021 11:00:38 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C8EA9619CD; Mon, 17 May 2021 14:26:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621261614; bh=0+9Xdgeq1Rpqm/DtwPbsBg2XLXCA4ICNfobY8GCq/VY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dNubAmeUUk/AyfvOmjBL4SveXjjbc5MsS3mZfJqQmMo4IscUxbD19ynDZ/5DoO8PZ amzrNeiLjrdxi/i1My7RnUQBacq3y7BK3G3Rd739HCn8wHPkYlS1DFE4yl68SJsWX2 YOY8igrFkVKYwlWcmLGKMWgHSX+VuzjuwuX94WvQ= 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.10 040/289] ASoC: rt5670: Add a quirk for the Dell Venue 10 Pro 5055 Date: Mon, 17 May 2021 15:59:25 +0200 Message-Id: <20210517140306.554103331@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210517140305.140529752@linuxfoundation.org> References: <20210517140305.140529752@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 84cb0d5581b6a7bd5d96013f67e9f2eb0c7b4378 ] Add a quirk with the jack-detect and dmic settings necessary to make jack-detect and the builtin mic work on Dell Venue 10 Pro 5055 tablets. Signed-off-by: Hans de Goede Acked-by: Pierre-Louis Bossart Link: https://lore.kernel.org/r/20210402140747.174716-5-hdegoede@redhat.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/codecs/rt5670.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/sound/soc/codecs/rt5670.c b/sound/soc/codecs/rt5670.c index a0c8f58d729b..47ce074289ca 100644 --- a/sound/soc/codecs/rt5670.c +++ b/sound/soc/codecs/rt5670.c @@ -2908,6 +2908,18 @@ static const struct dmi_system_id dmi_platform_intel_quirks[] = { RT5670_GPIO1_IS_IRQ | RT5670_JD_MODE3), }, + { + .callback = rt5670_quirk_cb, + .ident = "Dell Venue 10 Pro 5055", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), + DMI_MATCH(DMI_PRODUCT_NAME, "Venue 10 Pro 5055"), + }, + .driver_data = (unsigned long *)(RT5670_DMIC_EN | + RT5670_DMIC2_INR | + RT5670_GPIO1_IS_IRQ | + RT5670_JD_MODE1), + }, { .callback = rt5670_quirk_cb, .ident = "Aegex 10 tablet (RU2)", -- 2.30.2