[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191114190844.42484-1-jacobraz@google.com>
Date: Thu, 14 Nov 2019 12:08:44 -0700
From: Jacob Rasmussen <jacobraz@...omium.org>
To: linux-kernel@...r.kernel.org
Cc: Jacob Rasmussen <jacobraz@...gle.com>,
Bard Liao <bardliao@...ltek.com>,
Jaroslav Kysela <perex@...ex.cz>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
Oder Chiou <oder_chiou@...ltek.com>,
Takashi Iwai <tiwai@...e.com>, alsa-devel@...a-project.org,
zwisler@...gle.com, stable@...r.kernel.org
Subject: [PATCH] ASoC: rt5645: Fixed typo for buddy jack support.
Had a typo in e7cfd867fd98 that resulted in buddy jack support not being
fixed.
Fixes: e7cfd867fd98 ("ASoC: rt5645: Fixed buddy jack support.")
Cc: <zwisler@...gle.com>
Cc: <jacobraz@...gle.com>
CC: stable@...r.kernel.org
---
sound/soc/codecs/rt5645.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c
index 902ac98a3fbe..19662ee330d6 100644
--- a/sound/soc/codecs/rt5645.c
+++ b/sound/soc/codecs/rt5645.c
@@ -3271,7 +3271,7 @@ static void rt5645_jack_detect_work(struct work_struct *work)
report, SND_JACK_MICROPHONE);
return;
case 4:
- val = snd_soc_component_read32(rt5645->component, RT5645_A_JD_CTRL1) & 0x002;
+ val = snd_soc_component_read32(rt5645->component, RT5645_A_JD_CTRL1) & 0x0020;
break;
default: /* read rt5645 jd1_1 status */
val = snd_soc_component_read32(rt5645->component, RT5645_INT_IRQ_ST) & 0x1000;
--
2.24.0.432.g9d3f5f5b63-goog
Powered by blists - more mailing lists