aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb/line6/podhd.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-01-20 09:58:54 +0100
committerTakashi Iwai <tiwai@suse.de>2015-01-28 07:19:29 +0100
commit2a324fcdb568f4d7b0b65b271039beb987f6e1cd (patch)
treebcef41067ca5ad1729e279bc31433664e76f1fc3 /sound/usb/line6/podhd.c
parentALSA: line6: Yet more cleanup of superfluous NULL checks (diff)
downloadlinux-dev-2a324fcdb568f4d7b0b65b271039beb987f6e1cd.tar.xz
linux-dev-2a324fcdb568f4d7b0b65b271039beb987f6e1cd.zip
ALSA: line6: Abort if inconsistent usbdev is found at disconnect
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>
Diffstat (limited to 'sound/usb/line6/podhd.c')
0 files changed, 0 insertions, 0 deletions