OSDN Git Service

[ALSA] ali5451 - Code clean up, irq handler fix
authorTakashi Iwai <tiwai@suse.de>
Tue, 3 Apr 2007 11:20:49 +0000 (13:20 +0200)
committerJaroslav Kysela <perex@suse.cz>
Fri, 11 May 2007 14:55:55 +0000 (16:55 +0200)
commitf9ab2b1c3ab5345f9003bf7ebc1eaa0f9b8cf99e
tree10645153733b7f71fe51a4485c9f997dd07a409f
parent51354ae3b8fdbeaf96e23ddf787432a38eba31f5
[ALSA] ali5451 - Code clean up, irq handler fix

- Clean up ali5451.c, following the standard coding style, unneeded codes
  reduced, and removal of redundant variable initializations.
  Hungarian notation isn't fixed yet ;)
- Fix irq handler to return IRQ_NONE properly for shared irqs.
  Also check the hardware availability in irq handler to avoid possible
  initialization races at loading the driver.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/ali5451/ali5451.c