[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>
This commit is contained in:
Takashi Iwai 2007-04-03 13:20:49 +02:00 committed by Jaroslav Kysela
parent 51354ae3b8
commit f9ab2b1c3a
1 changed files with 425 additions and 450 deletions

File diff suppressed because it is too large Load Diff