提交 5dda7f27 编写于 作者: A Andy CH Lin 提交者: 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: NAndy CH Lin <andy_ch_lin@wistron.com>
Signed-off-by: NJekyll Lai <jekyll_lai@wistron.com>
Signed-off-by: NAlan Cox <alan@linux.intel.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册