All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] Revert "ASoC: rt5682: Adjust headset volume button threshold"
@ 2021-08-02 12:37 derek.fang
  2021-08-02 12:37 ` [PATCH 2/2] ASoC: rt5682: Adjust the headset volume button threshold derek.fang
  0 siblings, 1 reply; 6+ messages in thread
From: derek.fang @ 2021-08-02 12:37 UTC (permalink / raw)
  To: broonie, lgirdwood
  Cc: oder_chiou, jack.yu, alsa-devel, lars, albertchen, Derek Fang,
	shumingf, flove

From: Derek Fang <derek.fang@realtek.com>

This reverts commit 6d20bf7c020f417fdef1810a22da17c126603472.
Since it may risk affecting other headset Vol- button.

Signed-off-by: Derek Fang <derek.fang@realtek.com>

diff --git a/sound/soc/codecs/rt5682.c b/sound/soc/codecs/rt5682.c
index 7dc01ae6bb66..fcf442b8a732 100644
--- a/sound/soc/codecs/rt5682.c
+++ b/sound/soc/codecs/rt5682.c
@@ -44,7 +44,6 @@ 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.17.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 2/2] ASoC: rt5682: Adjust the headset volume button threshold
  2021-08-02 12:37 [PATCH 1/2] Revert "ASoC: rt5682: Adjust headset volume button threshold" derek.fang
@ 2021-08-02 12:37 ` derek.fang
  2021-08-03 12:50   ` Derek [方德義]
  0 siblings, 1 reply; 6+ messages in thread
From: derek.fang @ 2021-08-02 12:37 UTC (permalink / raw)
  To: broonie, lgirdwood
  Cc: oder_chiou, jack.yu, alsa-devel, lars, albertchen, Derek Fang,
	shumingf, flove

From: Derek Fang <derek.fang@realtek.com>

Set a safe threshold of headset button volume+ to fix
the wrong button detection issue with some brand headsets.

Signed-off-by: Derek Fang <derek.fang@realtek.com>

diff --git a/sound/soc/codecs/rt5682.c b/sound/soc/codecs/rt5682.c
index fcf442b8a732..fad827368c5e 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, 0x0110},
 };
 
 void rt5682_apply_patch_list(struct rt5682_priv *rt5682, struct device *dev)
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* RE: [PATCH 2/2] ASoC: rt5682: Adjust the headset volume button threshold
  2021-08-02 12:37 ` [PATCH 2/2] ASoC: rt5682: Adjust the headset volume button threshold derek.fang
@ 2021-08-03 12:50   ` Derek [方德義]
  0 siblings, 0 replies; 6+ messages in thread
From: Derek [方德義] @ 2021-08-03 12:50 UTC (permalink / raw)
  To: broonie, lgirdwood
  Cc: Oder Chiou, Jack Yu, alsa-devel, lars, Albert Chen,
	Shuming [范書銘], Flove(HsinFu)

Hi Mark,


Please ignore this patch.

Sorry.



Thanks,

Derek


________________________________
寄件者: Derek [方德義]
寄件日期: 2021年8月2日 下午 08:37
收件者: broonie@kernel.org; lgirdwood@gmail.com
副本: alsa-devel@alsa-project.org; lars@metafoo.de; Flove(HsinFu); Oder Chiou; Jack Yu; Shuming [范書銘]; Albert Chen; Derek [方德義]
主旨: [PATCH 2/2] ASoC: rt5682: Adjust the headset volume button threshold

From: Derek Fang <derek.fang@realtek.com>

Set a safe threshold of headset button volume+ to fix
the wrong button detection issue with some brand headsets.

Signed-off-by: Derek Fang <derek.fang@realtek.com>

diff --git a/sound/soc/codecs/rt5682.c b/sound/soc/codecs/rt5682.c
index fcf442b8a732..fad827368c5e 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, 0x0110},
 };

 void rt5682_apply_patch_list(struct rt5682_priv *rt5682, struct device *dev)
--
2.17.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/2] Revert "ASoC: rt5682: Adjust headset volume button threshold"
  2021-08-11  8:37 [PATCH 1/2] Revert "ASoC: rt5682: Adjust headset volume button threshold" derek.fang
  2021-08-11 11:57 ` Mark Brown
@ 2021-08-12 12:07 ` Mark Brown
  1 sibling, 0 replies; 6+ messages in thread
From: Mark Brown @ 2021-08-12 12:07 UTC (permalink / raw)
  To: derek.fang, lgirdwood
  Cc: oder_chiou, jack.yu, alsa-devel, lars, albertchen, Mark Brown,
	shumingf, flove

On Wed, 11 Aug 2021 16:37:49 +0800, derek.fang@realtek.com wrote:
> From: Derek Fang <derek.fang@realtek.com>
> 
> This reverts commit 6d20bf7c020f417fdef1810a22da17c126603472.
> Since it may risk affecting other headset Vol- button.
> 
> 
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/2] Revert "ASoC: rt5682: Adjust headset volume button threshold"
      commit: cf2a19f7d2b7d777b4a0ec6f3faa7fe3e4ad568e
[2/2] ASoC: rt5682: Fix the vol+ button detection issue
      (no commit info)

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/2] Revert "ASoC: rt5682: Adjust headset volume button threshold"
  2021-08-11  8:37 [PATCH 1/2] Revert "ASoC: rt5682: Adjust headset volume button threshold" derek.fang
@ 2021-08-11 11:57 ` Mark Brown
  2021-08-12 12:07 ` Mark Brown
  1 sibling, 0 replies; 6+ messages in thread
From: Mark Brown @ 2021-08-11 11:57 UTC (permalink / raw)
  To: derek.fang
  Cc: oder_chiou, jack.yu, alsa-devel, lars, lgirdwood, albertchen,
	shumingf, flove

[-- Attachment #1: Type: text/plain, Size: 973 bytes --]

On Wed, Aug 11, 2021 at 04:37:49PM +0800, derek.fang@realtek.com wrote:
> From: Derek Fang <derek.fang@realtek.com>
> 
> This reverts commit 6d20bf7c020f417fdef1810a22da17c126603472.
> Since it may risk affecting other headset Vol- button.

Please submit patches using subject lines reflecting the style for the
subsystem, this makes it easier for people to identify relevant patches.
Look at what existing commits in the area you're changing are doing and
make sure your subject lines visually resemble what they're doing.
There's no need to resubmit to fix this alone.

Please include human readable descriptions of things like commits and
issues being discussed in e-mail in your mails, this makes them much
easier for humans to read especially when they have no internet access.
I do frequently catch up on my mail on flights or while otherwise
travelling so this is even more pressing for me than just being about
making things a bit easier to read.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 1/2] Revert "ASoC: rt5682: Adjust headset volume button threshold"
@ 2021-08-11  8:37 derek.fang
  2021-08-11 11:57 ` Mark Brown
  2021-08-12 12:07 ` Mark Brown
  0 siblings, 2 replies; 6+ messages in thread
From: derek.fang @ 2021-08-11  8:37 UTC (permalink / raw)
  To: broonie, lgirdwood
  Cc: oder_chiou, jack.yu, alsa-devel, lars, albertchen, Derek Fang,
	shumingf, flove

From: Derek Fang <derek.fang@realtek.com>

This reverts commit 6d20bf7c020f417fdef1810a22da17c126603472.
Since it may risk affecting other headset Vol- button.

Signed-off-by: Derek Fang <derek.fang@realtek.com>

diff --git a/sound/soc/codecs/rt5682.c b/sound/soc/codecs/rt5682.c
index 7dc01ae6bb66..fcf442b8a732 100644
--- a/sound/soc/codecs/rt5682.c
+++ b/sound/soc/codecs/rt5682.c
@@ -44,7 +44,6 @@ 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.17.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-08-12 12:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-02 12:37 [PATCH 1/2] Revert "ASoC: rt5682: Adjust headset volume button threshold" derek.fang
2021-08-02 12:37 ` [PATCH 2/2] ASoC: rt5682: Adjust the headset volume button threshold derek.fang
2021-08-03 12:50   ` Derek [方德義]
2021-08-11  8:37 [PATCH 1/2] Revert "ASoC: rt5682: Adjust headset volume button threshold" derek.fang
2021-08-11 11:57 ` Mark Brown
2021-08-12 12:07 ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.