Skip to content

Commit

Permalink
ASoC: rt5645: Fixed typo for buddy jack support.
Browse files Browse the repository at this point in the history
Had a typo in e7cfd86 that resulted in buddy jack support not being
fixed.

Fixes: e7cfd86 ("ASoC: rt5645: Fixed buddy jack support.")
Signed-off-by: Jacob Rasmussen <jacobraz@google.com>
Reviewed-by: Ross Zwisler <zwisler@google.com>
Cc: <jacobraz@google.com>
CC: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20191114232011.165762-1-jacobraz@google.com
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Jacob Rasmussen authored and Mark Brown committed Nov 15, 2019
1 parent e9149b8 commit fe23be2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/codecs/rt5645.c
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit fe23be2

Please sign in to comment.