ALSA: azt3328: improve snd_azf3328_codec_setdmaa()
authorAndreas Mohr <andi@lisas.de>
Mon, 27 Dec 2010 20:17:35 +0000 (21:17 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sun, 2 Jan 2011 10:11:38 +0000 (11:11 +0100)
commit689c69120ea3c8db069e11a7065ceffee90d0460
tree8900047e2c2612df60d763de78e9b430ee96b59e
parentda237f35a8a503fb8893fb3b9d0622a991bcebef
ALSA: azt3328: improve snd_azf3328_codec_setdmaa()

- add some WARN_ONCE
- add multi-I/O helper (and use helper struct)
- fix off-by-1 DMA length bug
- better variable naming

Signed-off-by: Andreas Mohr <andi@lisas.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/azt3328.c