Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2340969pxu; Sun, 13 Dec 2020 23:00:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJz/VI4iqFDPD4jBvjmV/cFADpt5+Xp73mdVaCFHwh4oKesWQiysD39NEUY5dxgR0Z1G8G/8 X-Received: by 2002:a17:906:b306:: with SMTP id n6mr20742383ejz.473.1607929210590; Sun, 13 Dec 2020 23:00:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607929210; cv=none; d=google.com; s=arc-20160816; b=lK4GO4Etuk+vojfTZ/QfyVZkvE4LqctiDAA629xGhwQNRwTS531QvsyXDStY75Rb4v a5+KAXMpjrY2KhoGbE+G5xA8iknz3t1LYlvx1D31oCHG4eKHW42sw0qFWCdJ5euePnab 4x7Q18kNReO5qk3AN9kyR4/uAeij+XGT94hjUcv/NohQWEO0wArLUUShnqpg6/PsXRfb v7z7dRrW9pBQrOQu8p9af8ugXoFcQNIzDfRssxsppvb6n1qGI4K1RNLQYU8gRYHV8v5R nISgCkJAwJnUSouq48I7lvRsSf3zVeapU0k5KHY4vg2gB5Yqop2PMq6WQqa/jUjJAhXL ndZg== 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; bh=aDr1Swq7NbO3SDrNZAXhzoA0gewgCYIuGmGySpyJWlM=; b=0p8b0+EKMhRSKWHovvmibbLmSsqVc5S4TXO5Y4GrF1EdfePYTTRWGTqyROCIl2AcHk wHhjaL4459EC6x2xCheWDSO0wqresGG0K3cx3Y1SQ8pD8+yBtqzTT4/D5xO5cp+PJazw 3ym7wptP5n4+6F/AI1BiWyCzAeDCgOtswOTlYiIgzBeC++4JPupO7xRUj2SoFkmY/pRa r4caVaDIqa+j7FmxCxRHWYRc+zHA1zy8ZrPtAJgzV6nEZne4hyNvwUIsBWNj7leYSEyB 4hhXZw4xEQZWFTAM5LEGO5VYxN4nskpDQJglFt2FBdYaAZ9g+IOG95Dpo+gIb0qAOfVx /UEA== ARC-Authentication-Results: i=1; mx.google.com; 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 cf7si9904769edb.403.2020.12.13.22.59.48; Sun, 13 Dec 2020 23:00:10 -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; 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 S2437770AbgLLQho (ORCPT + 99 others); Sat, 12 Dec 2020 11:37:44 -0500 Received: from mail.kernel.org ([198.145.29.99]:57716 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2439375AbgLLQJg (ORCPT ); Sat, 12 Dec 2020 11:09:36 -0500 From: Sasha Levin Authentication-Results: mail.kernel.org; dkim=permerror (bad message/signature format) To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Shuming Fan , Mark Brown , Sasha Levin , alsa-devel@alsa-project.org Subject: [PATCH AUTOSEL 5.9 06/23] ASoC: rt5682: change SAR voltage threshold Date: Sat, 12 Dec 2020 11:07:47 -0500 Message-Id: <20201212160804.2334982-6-sashal@kernel.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20201212160804.2334982-1-sashal@kernel.org> References: <20201212160804.2334982-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: Shuming Fan [ Upstream commit aa4cb898b80a28a610e26d1513e6dd42d995c225 ] To fix errors in some 4 poles headset detection cases, this patch adjusts the voltage threshold for mic detection. Signed-off-by: Shuming Fan Link: https://lore.kernel.org/r/20201126092759.9427-1-shumingf@realtek.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/codecs/rt5682.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/codecs/rt5682.c b/sound/soc/codecs/rt5682.c index a4713bd6508d5..e260eddb51d96 100644 --- a/sound/soc/codecs/rt5682.c +++ b/sound/soc/codecs/rt5682.c @@ -43,6 +43,7 @@ static const struct reg_sequence patch_list[] = { {RT5682_DAC_ADC_DIG_VOL1, 0xa020}, {RT5682_I2C_CTRL, 0x000f}, {RT5682_PLL2_INTERNAL, 0x8266}, + {RT5682_SAR_IL_CMD_3, 0x8365}, }; void rt5682_apply_patch_list(struct rt5682_priv *rt5682, struct device *dev) -- 2.27.0