ALSA: snd-usb: avoid dividing by zero on invalid input
authorNicolai Krakowiak <nicolai.krakowiak@gmail.com>
Thu, 4 Aug 2011 13:56:27 +0000 (15:56 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 4 Aug 2011 14:24:06 +0000 (16:24 +0200)
commit60c961a9e1ed879a4d151df6076bf1203f595f73
tree82737b4c558bf9d494c420434cf24ea9ec184fd0
parent824818b148db42173446707df4cbd61cd7133272
ALSA: snd-usb: avoid dividing by zero on invalid input

Signed-off-by: Nicolai Krakowiak <nicolai.krakowiak@gmail.com>
Acked-by: Daniel Mack <zonque@gmail.com>
Acked-by: Clemens Ladisch <clemens@ladisch.de>
Cc: stable@kernel.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer.c