Commit 5dda7f27 authored by Andy CH Lin's avatar Andy CH Lin Committed by Greg Kroah-Hartman
Browse files

intel_sst: intelmid_v2_control: correct jack event type



Correct event type of audio jack while receiving long press event.

Signed-off-by: default avatarAndy CH Lin <andy_ch_lin@wistron.com>
Signed-off-by: default avatarJekyll Lai <jekyll_lai@wistron.com>
Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent a4820502
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1053,7 +1053,7 @@ static void nc_pmic_irq_cb(void *cb_data, u8 intsts)
		present = 1;
		jack_event_flag = 1;
		buttonpressflag = 1;
		mjack->jack.type = MID_JACK_HS_SHORT_PRESS;
		mjack->jack.type = MID_JACK_HS_LONG_PRESS;
	}

	if (jack_event_flag)