Browse Source

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 <andy_ch_lin@wistron.com>
Signed-off-by: Jekyll Lai <jekyll_lai@wistron.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Andy CH Lin 14 years ago
parent
commit
5dda7f27c1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/staging/intel_sst/intelmid_v2_control.c

+ 1 - 1
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)