1. 09 6月, 2008 1 次提交
  2. 06 6月, 2008 1 次提交
    • J
      sound: emu10k1 - fix system hang with Audigy2 ZS Notebook PCMCIA card · 868e15db
      Jaroslav Franek 提交于
      When the Linux kernel is compiled with CONFIG_DEBUG_SHIRQ=y,
      the Soundblaster Audigy2 ZS Notebook PCMCIA card causes the
      system hang during boot (udev stage) or when the card is hot-plug.
      The CONFIG_DEBUG_SHIRQ flag is by default 'y' with all Fedora
      kernels since 2.6.23. The problem was reported as
      https://bugzilla.redhat.com/show_bug.cgi?id=326411
      
      The issue was hunted down to the snd_emu10k1_create() routine:
      
      /* pseudo-code */
      snd_emu10k1_create(...) {
      	...
      	request_irq(... IRQF_SHARED ...) {
      		register the irq handler
      		#ifdef CONFIG_DEBUG_SHIRQ
      		call the irq handler: snd_emu10k1_interrupt() {
      			poll I/O port   // <---- !! system hangs
      			...
      		}
      		#endif
      	}
      	...
      	snd_emu10k1_cardbus_init(...) {
      		initialize I/O ports
      	}
      	...
      }
      
      The early access to I/O port in the interrupt handler causes
      the freeze. Obviously it is necessary to init the I/O ports
      before accessing them. This patch moves the registration of
      the irq handler after the initialization of the I/O ports.
      Signed-off-by: NJaroslav Franek <jarin.franek@post.cz>
      Acked-by: NJames Courtier-Dutton <James@superbug.co.uk>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      868e15db
  3. 04 6月, 2008 1 次提交
  4. 03 6月, 2008 1 次提交
  5. 30 5月, 2008 3 次提交
  6. 26 5月, 2008 2 次提交
  7. 25 5月, 2008 4 次提交
  8. 22 5月, 2008 2 次提交
  9. 21 5月, 2008 1 次提交
    • G
      SOUND: fix race in device_create · 5d99a8b8
      Greg Kroah-Hartman 提交于
      There is a race from when a device is created with device_create() and
      then the drvdata is set with a call to dev_set_drvdata() in which a
      sysfs file could be open, yet the drvdata will be NULL, causing all
      sorts of bad things to happen.
      
      This patch fixes the problem by using the new function,
      device_create_drvdata().
      
      Cc: Kay Sievers <kay.sievers@vrfy.org>
      Cc: Jaroslav Kysela <perex@perex.cz>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      5d99a8b8
  10. 20 5月, 2008 3 次提交
  11. 19 5月, 2008 4 次提交
  12. 13 5月, 2008 4 次提交
  13. 09 5月, 2008 1 次提交
  14. 08 5月, 2008 2 次提交
  15. 07 5月, 2008 1 次提交
  16. 05 5月, 2008 7 次提交
  17. 01 5月, 2008 2 次提交