]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit94754034d79b9e9acf60237834f858d965210fc2
tree782c8677ba375ada558578fefe5321c84c5b4dff
parentd0608111f2e169599db163a632a39a87dafff534
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