Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 220322
b: refs/heads/master
c: 83cb192
h: refs/heads/master
v: v3
  • Loading branch information
Alan Cox authored and Greg Kroah-Hartman committed Oct 14, 2010
1 parent 66aab62 commit ba48f15
Show file tree
Hide file tree
Showing 4 changed files with 147 additions and 331 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 88eea8de94b09207421b75b0029d50727a1dff38
refs/heads/master: 83cb1926e0f55d0fd4d3064d1b9bef56bac7fe85
5 changes: 3 additions & 2 deletions trunk/drivers/staging/intel_sst/TODO
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ TODO
----

Get the memrar driver cleaned up and upstream (dependancy blocking SST)
Get the jack header entries accepted
Replace long/short press with two virtual buttons
Review the printks and kill off any left over ST_ERR: messages
Review the misc device ioctls for 32/64bit safety and sanity
Review the misc device ioctls for size safety depending on config and decide
if space/unused areas should be left
What the sound folks turn up on full review
Using the ALSA frameworks properly

Anything the sound folks turn up on full review

17 changes: 2 additions & 15 deletions trunk/drivers/staging/intel_sst/intelmid.c
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ void sst_mad_jackdetection_mx(u8 intsts, struct snd_intelmad *intelmaddata)
jack = &intelmaddata->jack[3].jack;
present = 1;
jack_event_flag = 1;
} else {
} else {
pr_debug("sst: short press detected\n");
/* send headphone detect/undetect */
jack = &intelmaddata->jack[2].jack;
Expand All @@ -649,21 +649,8 @@ void sst_mad_jackdetection_mx(u8 intsts, struct snd_intelmad *intelmaddata)
}

}
intelmaddata->jack_prev_state = value ;

}
if (is_aava() && jack) {
if (present) {
pr_debug("sst: Jack... YES\n");
scard_ops->set_output_dev(STEREO_HEADPHONE);

} else {
pr_debug("sst: Jack... NO\n");
scard_ops->set_output_dev(INTERNAL_SPKR);

}
intelmaddata->jack_prev_state = value;
}

if (jack_event_flag)
sst_mad_send_jack_report(jack, buttonpressflag, present);
}
Expand Down
Loading

0 comments on commit ba48f15

Please sign in to comment.