]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit72ae178acba67cf33c37366d2905ada0b74cfc3f
tree29c0ecdb65f436e818786d15d55bf4a8c70bb873
parent01b83be5d5deadde1e21cc21b2d7d061154e28ce
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