]> git.baikalelectronics.ru Git - kernel.git/commit
USB: overhaul of mos7840 driver
authorOliver Neukum <oneukum@suse.de>
Fri, 16 Mar 2007 19:28:28 +0000 (20:28 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 27 Apr 2007 20:28:36 +0000 (13:28 -0700)
commit5087b09093952a28aaa1e68abbd68ae83e72f777
tree7327913df59f5c5575b1513122ee404666731b4a
parentc70573d0a575d42fbd421bbeb7b92237302e6dce
USB: overhaul of mos7840 driver

This fixes:

- breaking DMA rules about buffers
- usage of _global_ variables to save a single device's attributes
- racy access to urb->status
- smp monotonity issue with statistics
- use of one buffer for many simultaneous URBs
- error handling introduced
- several instances of following NULL pointers
- use after free
- unnecessary GFP_ATOMIC
- GFP_KERNEL in interrupt
- various cleanups
- write room granularity issue that bit cdc-acm
- race in shutdown

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/mos7840.c