[alsa-devel] Fwd: Problems with hda_intel, Santa Rosa, and suspend

Matt Mullins mokomull at gmail.com
Fri Jul 6 04:42:21 CEST 2007


Found what I think is the problem... patch_sigmatel.c set
spec->num_pins=14, yet spec->pin_nids pointed to stac9205_pin_nids,
which was an array of only 12 NIDs.  That caused [total guess here]
either stac92xx_save_bios_config_regs or stac92xx_set_config_regs to
read past the end of the array and into an uninitialized area.  I
changed the 14 to a 12, and it seems to work.  The attached patch is
against the current Mercurial sources, but I made the similar change
to kernel 2.6.22-rc7, and it doesn't use single_cmd anymore.  It still
doesn't work after a suspend, though, making me unload and reload the
module.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_mokomull
Type: application/octet-stream
Size: 408 bytes
Desc: not available
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20070705/e4fe2819/attachment-0001.dll 


More information about the Alsa-devel mailing list