Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2966025pxj; Mon, 17 May 2021 14:19:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzVptA7V/nxx0E99iFk+x2Xfvsi9kSOMZA75rjxnMxP35PwWIVZJ4qNZ8ADSBHa6i+jgbmt X-Received: by 2002:a6b:f30d:: with SMTP id m13mr1588777ioh.139.1621286395196; Mon, 17 May 2021 14:19:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621286395; cv=none; d=google.com; s=arc-20160816; b=Fkl5GecAHnax/TgdNsnVn3vtWxixv0dtMBZENu5EVrmdCYWJtzAOx+obOkoIGVu61m DR/nqBduRxbrfthWbxVwXBSciZP+e3jsb1+GxRQGeT9CaCp87fYCl53ZMhhgzZzKlUGI ild4RRuDqCpKXQh86HBZVGPGDcLCogxmhXAmNc6QupUfIhsIZ245DeNrB3RXvtDX9e4Z XR9NdzBT1qoQsALhV8mAUDbBZo/unPdzYlF1zGg/bqU7I9IVhFOvHuXO5/a8ekyCRFbV f6ZlEwWNvN5E6cyzksoDCB0/Ll4LHP3oOnmrytj/zwBtgD6P91ULjvYm5UuMQGrMOF3L cYAA== 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=1NAaaoO0EfER1Uhjtj6Md3OQ8F7J6OEiJ6sZQCY/qmc=; b=OYTtVuJnSLVgzq3fYSYN3LzRo7wxAJsU5XIPU2+9K+TlQg/ZSyb1WriEiGjXrFE6RQ Ip+F0Q8eBYREo5qkowht0lM+WuWojO55BKKF7HFaFjK1T+eR314EAECmcX8pUFw1QHxY c8nNiC3DVNbA0PKhfzC27sYkr9EobXMIAwvPS/Rex0RhvT+QK8sYnAi4leUzZEXcuGwo WBH4iIxF3eWVTSIGyha2eKzsuGHLM3A51A4Tcpcybg47InjfnymK+0djFY88bzg83Mz2 Rh567tr98XYkFLcGrA3p/rCz5OHuX/SX7u8SFHeBEjB1cwWkqZntllApTgcV2meneIN4 rRiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=fYrzvpHd; 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 f6si19396640ioh.32.2021.05.17.14.19.42; Mon, 17 May 2021 14:19:55 -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=fYrzvpHd; 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 S238390AbhEQOKQ (ORCPT + 99 others); Mon, 17 May 2021 10:10:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:58348 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238083AbhEQOHh (ORCPT ); Mon, 17 May 2021 10:07:37 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5CDB66128E; Mon, 17 May 2021 14:06:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621260367; bh=mKkjTfBgYYQuYW9XJMVZqW5OfGH+RE/LXevOvmxnd4I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fYrzvpHdHbnIjUYjxYgnV8FifZ6tXueo3J/eWraj0jorJBO1cydIrI2A2iiiJusJa /wz9cHna8gXNacLrQ+CpXFr9FZf1+S2U5vZUWbzyHvyp11Qk6m4O4SXfLhpKda7ef1 karUH0XOIGtVZpUBMGimzNssGVtGkiSVmYIDB9wM= 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.12 049/363] ASoC: rt5670: Add a quirk for the Dell Venue 10 Pro 5055 Date: Mon, 17 May 2021 15:58:35 +0200 Message-Id: <20210517140304.265476505@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210517140302.508966430@linuxfoundation.org> References: <20210517140302.508966430@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 4063aac2a443..dd69d874bad2 100644 --- a/sound/soc/codecs/rt5670.c +++ b/sound/soc/codecs/rt5670.c @@ -2980,6 +2980,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