Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 29674d00 authored by Jacob Rasmussen's avatar Jacob Rasmussen Committed by Greg Kroah-Hartman
Browse files

ASoC: rt5645: Fixed typo for buddy jack support.



commit fe23be2d85b05f561431d75acddec726ea807d2a upstream.

Had a typo in e7cfd867fd98 that resulted in buddy jack support not being
fixed.

Fixes: e7cfd867fd98 ("ASoC: rt5645: Fixed buddy jack support.")
Signed-off-by: default avatarJacob Rasmussen <jacobraz@google.com>
Reviewed-by: default avatarRoss 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: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fcea88b2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3308,7 +3308,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;