ALSA: snd-atmel-ac97c: enable interrupts to catch events for error reporting
authorHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Thu, 2 Apr 2009 06:21:14 +0000 (08:21 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 6 Apr 2009 01:55:33 +0000 (03:55 +0200)
commitdf163587eab15a24cc34cf8434a5657416f8a203
tree6c9eeebc72fd8bca19cc6c5f8500e3c505e7c871
parentc42eec0f193ed408118e20d85ea8c2e69c529993
ALSA: snd-atmel-ac97c: enable interrupts to catch events for error reporting

This patch will enable interrupts from AC97C and report about error
conditions that occurs.

On channel A both overrun and underrun will be enabled depending if
playback and/or capture are enabled. On the control channel the overrun
interrupt is enabled.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/atmel/ac97c.c