android_kernel_xiaomi_sm7250/drivers/usb/storage
Alan Stern ed76cacbea USB: usb-storage: use kthread_stop() for the control thread
This patch (as923) makes usb-storage's control thread use
kthread_should_stop()/kthread_stop().  The scanning thread can't be
similarly converted until the core kthread implementation allows
threads to call do_exit().

The advantage of this change is that we can now be certain the control
thread has terminated before storage_disconnect() returns.  This will
simplify the locking requirements when autosuspend support is added.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Matthew Dharm <mdharm-usb@one-eyed-alien.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-07-12 16:34:31 -07:00
..
alauda.c
alauda.h
datafab.c
datafab.h
debug.c
debug.h
dpcm.c
dpcm.h
freecom.c
freecom.h
initializers.c
initializers.h
isd200.c
isd200.h
jumpshot.c
jumpshot.h
karma.c
karma.h
Kconfig
libusual.c
Makefile
onetouch.c USB: Onetouch - switch to using input_dev->dev.parent 2007-05-22 23:45:50 -07:00
onetouch.h
protocol.c
protocol.h
scsiglue.c USB: add reset_resume method 2007-07-12 16:34:30 -07:00
scsiglue.h
sddr09.c
sddr09.h
sddr55.c
sddr55.h
shuttle_usbat.c
shuttle_usbat.h
transport.c
transport.h
unusual_devs.h USB: UNUSUAL_DEV: Sync up some reported devices from Ubuntu 2007-06-08 16:24:30 -07:00
usb.c USB: usb-storage: use kthread_stop() for the control thread 2007-07-12 16:34:31 -07:00
usb.h USB: usb-storage: use kthread_stop() for the control thread 2007-07-12 16:34:31 -07:00