ALSA: line6: Abort if inconsistent usbdev is found at disconnect
authorTakashi Iwai <tiwai@suse.de>
Tue, 20 Jan 2015 08:58:54 +0000 (09:58 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 28 Jan 2015 06:19:29 +0000 (07:19 +0100)
It's utterly unsafe to proceed further the disconnect procedure if the
assigned usbdev is inconsistent with the expected object.  Better to
put a WARN_ON() for more cautions and abort immediately.

Tested-by: Chris Rorvick <chris@rorvick.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/line6/driver.c

Simple merge