Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp763734pxb; Mon, 16 Aug 2021 17:37:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz7rlX/m3dpmGHyu5D0C+vRMqtVnv8KJE9AtQQ41tCYiCy1NUg+5A0zPiynszLeEDFQV+Tj X-Received: by 2002:a17:906:3a57:: with SMTP id a23mr820016ejf.469.1629160644253; Mon, 16 Aug 2021 17:37:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629160644; cv=none; d=google.com; s=arc-20160816; b=vSqv7CV5eANI5qbT4UfhtO1Enk6ylOlomkY4sdEy1L7piW1EyOuJhLK93q/hy79NYe uS+lPPshUdg1fPYMkupTPlgQai/Cry0lndMvyEuveVZlYdyalZXBNSRJidDKsWW4hZG1 RAnJNuqUK550TGgNIugyA2Umk16pzz7ynGQUVXxVud6pNSsBAPVDiZw3SuExeIx0Ei1b sBAXswQxwKbPzFn1zQogw4zyN/da4hSWwWJbjUah6rrge9tg4aDIOyvpE5sFSZsBNRnj HtPkSZBTs691rO4oXVk5l5BjE5nwCgI6RfMOJhmOGhqpcXLJW4R8KEnGJxCWi5kffUAu J1IQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=qJXp6gVp3g9XxdEnPOmZSj0HQrnZV/Yi0uwT/nVEHss=; b=YP0rjMQXF9oihYqnOJzDMGOUKcSH3Vkvh4QcJgmO22nJYHvu8djkjhftpu1CwJCI8f 0HbuNhZTSwrmKITT99nikorDTD3l9hoQcOX+yg6gwoZ163QIqaioKd59FJbwAp5/XBb0 ZIbkNOqO9krfz6P/hAoljiBuhYqsz/pM6rVeT0rylYDXzx2wV0H6G1U+yqohQeZlyIjM OYkM/lFQdj/gim8oWxGffTbEe1P1XfJorBwqg1feDkQ8x6yZJZWgZ6c588flqB9YoqTe V4OycAH8p/ZFp88RQLmfXx2fjmFX0yjO7ykPPR95aj4BzvsjTzTxtyO6PiDF1RWdgfC6 mpTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=b3qaMTc8; 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 c15si473617ejk.388.2021.08.16.17.37.01; Mon, 16 Aug 2021 17:37:24 -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=k20201202 header.b=b3qaMTc8; 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 S235136AbhHQAgL (ORCPT + 99 others); Mon, 16 Aug 2021 20:36:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:34850 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232911AbhHQAgK (ORCPT ); Mon, 16 Aug 2021 20:36:10 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 01CDA60F55; Tue, 17 Aug 2021 00:35:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629160538; bh=JaVsE/qfaG5QwU8mhxxYf4ZmaSlkCE/lnVpo/qNCLtE=; h=From:To:Cc:Subject:Date:From; b=b3qaMTc8KDGcN22HAfViSrAyYU2ejeV7COdmdFCBeQa+4KBPnHWyMxRm/RT5uXA58 pVLd62io7ZYxQik38qeRr+ELlkB/Fty4mYq6kSl1ipEIlBlqEbbRG8tfrcEUD540l5 7ZDySF47Ok+OVGM4uxjFaV0LewYeX30R3XbMRKsRYpN1h3AzXnrFVqro/S7oVmHPT+ Q8rpAGFvOK6qGgRNRrlwSVP9LwYXR6F+utB8AbTQ+P9eJ2BrDN26QTJ0aBLtURUP8H JLvr+sPdTqev1mET7HWEPKe6JgzByGiQJrzFdOdC8p/tcZR/WYml9Fd9pDamhmIXsZ c/7RilTV53meg== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Derek Fang , Mark Brown , Sasha Levin , alsa-devel@alsa-project.org Subject: [PATCH AUTOSEL 5.13 01/12] ASoC: rt5682: Adjust headset volume button threshold Date: Mon, 16 Aug 2021 20:35:25 -0400 Message-Id: <20210817003536.83063-1-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 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: Derek Fang [ Upstream commit 6d20bf7c020f417fdef1810a22da17c126603472 ] Adjust the threshold of headset button volume+ to fix the wrong button detection issue with some brand headsets. Signed-off-by: Derek Fang Link: https://lore.kernel.org/r/20210721133121.12333-1-derek.fang@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 abcd6f483788..51ecaa2abcd1 100644 --- a/sound/soc/codecs/rt5682.c +++ b/sound/soc/codecs/rt5682.c @@ -44,6 +44,7 @@ static const struct reg_sequence patch_list[] = { {RT5682_I2C_CTRL, 0x000f}, {RT5682_PLL2_INTERNAL, 0x8266}, {RT5682_SAR_IL_CMD_3, 0x8365}, + {RT5682_SAR_IL_CMD_6, 0x0180}, }; void rt5682_apply_patch_list(struct rt5682_priv *rt5682, struct device *dev) -- 2.30.2