From: Andy CH Lin Date: Tue, 3 May 2011 16:35:51 +0000 (+0100) Subject: intel_sst: intelmid_v2_control: correct jack event type X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5dda7f27c115806d5fff3f8094c84989900479f8;p=linux-beck.git intel_sst: intelmid_v2_control: correct jack event type Correct event type of audio jack while receiving long press event. Signed-off-by: Andy CH Lin Signed-off-by: Jekyll Lai Signed-off-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/intel_sst/intelmid_v2_control.c b/drivers/staging/intel_sst/intelmid_v2_control.c index 3d31900eba69..b5fb22ca7f64 100644 --- a/drivers/staging/intel_sst/intelmid_v2_control.c +++ b/drivers/staging/intel_sst/intelmid_v2_control.c @@ -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)