Skip to content

Commit

Permalink
intel_sst: intelmid_v2_control: correct jack event type
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andy CH Lin authored and Greg Kroah-Hartman committed May 10, 2011
1 parent a482050 commit 5dda7f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/intel_sst/intelmid_v2_control.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5dda7f2

Please sign in to comment.