summaryrefslogtreecommitdiffstats
path: root/sound/usb/helper.h
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2013-08-14 17:37:52 +0200
committerRobert Love <robert.w.love@intel.com>2013-09-04 22:30:43 +0200
commitcae7b6dd6c569f18f5c8e3f33cac60fbaeb58140 (patch)
tree257c25995a259307113f337cc8f569f2604b9363 /sound/usb/helper.h
parentlibfc: Protect ep->esb_stat changes via ex_lock (diff)
downloadlinux-cae7b6dd6c569f18f5c8e3f33cac60fbaeb58140.tar.xz
linux-cae7b6dd6c569f18f5c8e3f33cac60fbaeb58140.zip
libfc: Avoid that sending after an abort triggers a kernel warning
Calling fc_seq_send() after an ABTS message has been received triggers a kernel warning (WARN_ON(!(ep->esb_stat & ESB_ST_SEQ_INIT))). Avoid this by returning -ENXIO to the caller if fc_seq_send() is invoked after an ABTS message has been received. Signed-off-by: Bart Van Assche <bvanassche@acm.org> Cc: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: Robert Love <robert.w.love@intel.com>
Diffstat (limited to 'sound/usb/helper.h')
0 files changed, 0 insertions, 0 deletions