Comment 38 for bug 1013183

Revision history for this message
Jamie Pocas (pocas-jamie) wrote : Re: Sound playback stopped working in 3.2.0-25

Yes, this WORKS! You've found the culprit. Thanks!

Is this the diff you are referring to?

29 --- a/sound/pci/hda/patch_sigmatel.c
30 +++ b/sound/pci/hda/patch_sigmatel.c
31 @@ -4394,9 +4394,9 @@ static int stac92xx_init(struct hda_code
32 def_conf = get_defcfg_connect(def_conf);
33 /* skip any ports that don't have jacks since presence
34 * detection is useless */
35 - if (def_conf != AC_JACK_PORT_COMPLEX) {
36 - if (def_conf != AC_JACK_PORT_NONE)
37 - stac_toggle_power_map(codec, nid, 1);
38 + if (def_conf != AC_JACK_PORT_NONE &&
39 + !is_jack_detectable(codec, nid)) {
40 + stac_toggle_power_map(codec, nid, 1);
41 continue;
42 }
43 if (enable_pin_detect(codec, nid, STAC_PWR_EVENT)) {

Also, please ignore my comments about binary search. Apparently, that's exactly what the git 'bisect' command is doing. I guess I need to look into this git revision control because it seems to be displacing svn.