USB: Export QUIRK_RESET_MORPHS through sysfs
authorOliver Neukum <oliver@neukum.org>
Sat, 16 Jan 2010 00:33:03 +0000 (01:33 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 2 Mar 2010 22:53:23 +0000 (14:53 -0800)
commitef955341f692475236f0fbe6853f49337dff77a5
tree782c8677ba375ada558578fefe5321c84c5b4dff
parent5d3987796c7a747e5ed3ded1eb64a9632d52a1a4
USB: Export QUIRK_RESET_MORPHS through sysfs

Some devices which use mode switching revert to their
primary mode as they are reset. They must not be reset for
error handling. As user spaces makes the switch it also
has to tell the kernel that a device is quirky.

Signed-off-by: Oliver Neukum <oliver@neukum.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Documentation/ABI/testing/sysfs-bus-usb
drivers/usb/core/sysfs.c