ALSA: hda - use WARN_ON_ONCE() for zero-division detection
authorTakashi Iwai <tiwai@suse.de>
Fri, 12 Feb 2010 17:17:06 +0000 (18:17 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 12 Feb 2010 17:20:04 +0000 (18:20 +0100)
commitd6d8bf549393484e906913f02fa3c9518a2819b6
tree29c0ecdb65f436e818786d15d55bf4a8c70bb873
parentfed08d036f2aabd8d0c684439de37f8ebec2bbc2
ALSA: hda - use WARN_ON_ONCE() for zero-division detection

Replace the zero-division warning message with WARN_ON_ONCE() per the
advice by Linus.  This shouldn't happen, but if it happens, it's
possible that the bug happens often due to buggy IRQs.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c