Revert "ALSA: usb-audio: Fix potential zero-division at parsing FU"
authorTakashi Iwai <tiwai@suse.de>
Mon, 27 Nov 2017 09:59:40 +0000 (10:59 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 28 Nov 2017 17:34:36 +0000 (09:34 -0800)
commit3c02a6d946657e1ae0688e0d89f2dd2cfe9afba8
treeef88905c7402e3b79250d51563c94fc23eb9f141
parent8f5abe842e84ba9e72485ddd9dc02a3562b54e2a
Revert "ALSA: usb-audio: Fix potential zero-division at parsing FU"

The commit 8428a8ebde2d ("ALSA: usb-audio: Fix potential zero-division
at parsing FU") is utterly bogus and breaks the case with csize=1
instead of fixing anything.  Just take it back again.

Reported-by: Jörg Otte <jrg.otte@gmail.com>
Fixes: 8428a8ebde2d ("ALSA: usb-audio: Fix potential zero-division at parsing FU"
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
sound/usb/mixer.c