2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 04:34:11 +08:00
linux-next/drivers/usb/misc
Pete Zaitcev f08812d5eb USB: FIx locks and urb->status in adutux (updated)
Two main issues fixed here are:
 - An improper use of in-struct lock to protect an open count
 - Use of urb status for -EINPROGRESS

Also, along the way:
 - Change usb_unlink_urb to usb_kill_urb. Apparently there's no need
   to use usb_unlink_urb whatsoever in this driver, and the old use of
   usb_kill_urb was outright racy (it unlinked and immediately freed).
 - Fix indentation in adu_write. Looks like it was damaged by a script.
 - Vitaly wants -EBUSY on multiply opens.
 - bInterval was taken from a wrong endpoint.

Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Vitaliy Ivanov <vitalivanov@gmail.com>
Tested-by: Vitaliy Ivanov <vitalivanov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-11-28 13:58:34 -08:00
..
sisusbvga vt/vgacon: Check if screen resize request comes from userspace 2007-10-16 09:43:20 -07:00
adutux.c USB: FIx locks and urb->status in adutux (updated) 2007-11-28 13:58:34 -08:00
appledisplay.c Merge branch 'for-linus' of git://git.o-hand.com/linux-rpurdie-backlight 2007-07-22 11:19:46 -07:00
auerswald.c USB: misc: auerswald: clean up urb->status usage 2007-07-19 17:46:07 -07:00
berry_charge.c USB: fix memory leak in berry_charge driver 2007-10-12 14:55:20 -07:00
cypress_cy7c63.c USB: cypress_cy7c63: race disconnect/sysfs read-write leading to following NULL pointer 2007-04-27 13:28:38 -07:00
cytherm.c USB: fix read vs. disconnect race in cytherm driver 2007-10-25 12:18:44 -07:00
emi26_fw.h
emi26.c USB: missing error check in emi26 2007-10-25 12:18:45 -07:00
emi62_fw_m.h
emi62_fw_s.h
emi62.c USB: missing error check in emi62 2007-10-25 12:18:45 -07:00
ftdi-elan.c USB: FTDI Elan driver: Convert ftdi->u132_lock to mutex 2007-10-25 12:18:43 -07:00
idmouse.c USB: fix locking in idmouse 2007-10-25 12:18:44 -07:00
iowarrior.c USB: open disconnect race in iowarrior 2007-10-25 12:18:46 -07:00
Kconfig USB: add driver for iowarrior devices. 2007-02-23 15:03:45 -08:00
ldusb.c USB: misc: ldusb: clean up urb->status usage 2007-07-19 17:46:07 -07:00
legousbtower.c USB: disconnect open race in legousbtower 2007-10-25 12:18:46 -07:00
Makefile USB: add driver for iowarrior devices. 2007-02-23 15:03:45 -08:00
phidget.c USB: Put phidgets driver in a sysfs class 2006-09-27 11:58:49 -07:00
phidget.h USB: Put phidgets driver in a sysfs class 2006-09-27 11:58:49 -07:00
phidgetkit.c USB: misc: phidgetkit: clean up urb->status usage 2007-07-19 17:46:07 -07:00
phidgetmotorcontrol.c Add missing newlines to some uses of dev_<level> messages 2007-10-18 14:37:28 -07:00
phidgetservo.c USB: Fix oops in PhidgetServo 2006-12-20 10:13:22 -08:00
rio500_usb.h
rio500.c USB rio500.c: fix check-after-use 2007-10-25 12:18:43 -07:00
trancevibrator.c USB: fix transvibrator disconnect race 2006-12-20 10:13:23 -08:00
usb_u132.h Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6 2006-12-01 16:41:58 -08:00
usblcd.c USB: open disconnect race in usblcd 2007-10-25 12:18:46 -07:00
usbled.c USB: fix usbled disconnect read race #2 2007-11-28 13:58:33 -08:00
usbtest.c [SG] Update drivers to use sg helpers 2007-10-22 21:19:53 +02:00
uss720.c [PARPORT] Kill useful 'irq' arg from parport_{generic_irq,ieee1284_interrupt} 2007-10-23 19:53:15 -04:00