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

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
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment