summaryrefslogtreecommitdiffstats
path: root/drivers/hid
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2009-10-09 18:43:12 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-10-09 22:52:05 +0200
commita4720c650b68a5fe7faed2edeb0ad12645f7ae63 (patch)
tree829c32036a25279bb9aa1fc6077af5fa52f8f29e /drivers/hid
parentUSB: digi_acceleport: Fix broken unthrottle. (diff)
downloadlinux-a4720c650b68a5fe7faed2edeb0ad12645f7ae63.tar.xz
linux-a4720c650b68a5fe7faed2edeb0ad12645f7ae63.zip
USB: serial: don't call release without attach
This patch (as1295) fixes a recently-added bug in the USB serial core. If certain kinds of errors occur during probing, the core may call a serial driver's release method without previously calling the attach method. This causes some drivers (io_ti in particular) to perform an invalid memory access. The patch adds a new flag to keep track of whether or not attach has been called. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Tested-by: Jean-Denis Girard <jd.girard@sysnux.pf> CC: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/hid')
0 files changed, 0 insertions, 0 deletions