Commit graph android_kernel_sony_sdm845/drivers/usb/misc/trancevibrator.c
Message SHA1
USB: fix error handling in trancevibrator
trancevibrator should not pretend success if it returns an error.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

Oliver Neukum   authored and   Greg Kroah-Hartman   commited 2008-02-21 15:38:51 -08:00
0cc5e2e7c3
USB: fix transvibrator disconnect race
in disconnect you set the interface's private data to NULL. In your IO
methods you unconditionally follow the pointer into never never land.

Signed-off-by: Oliver Neukum <oliver@neukum.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

Oliver Neukum   authored and   Greg Kroah-Hartman   commited 2006-12-20 10:13:23 -08:00
96ca014d53
USB: move trancevibrator.c to the proper usb directory
It's not a input driver, so it doesn't belong in the input directory.


Cc: Sam Hocevar <sam@zoy.org>
Cc: Dmitry Torokhov <dtor@insightbb.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

Greg Kroah-Hartman   commited 2006-10-17 14:46:32 -07:00
9fcde23527
Renamed from drivers/usb/input/trancevibrator.c (Browse further)