kernel-ark/drivers/usb/core
jidong xiao 403fae78d7 USB: fix limited_power setting mistake in hub.c
This patch (jx001) fixes a variable assignment mistake in hub driver.
limited_power should be set to 0 if the hub is self-powered,and 1 if
the hub is bus-powered.

However, the effect of the code was exactly opposite to the spec's
statement for the Local Power Source field. The spec says, this field
is 1 meaning Local power supply lost while this field is 0 indicating
Local power supply good.(This statement is very confusing.)

So this patch switchs the 0 and 1.


Signed-off-by: Jason Xiao <jidong.xiao@gmail.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-10-12 14:55:27 -07:00
..
buffer.c
config.c
devices.c
devio.c USB: remove traces of urb->status from usbcore 2007-10-12 14:55:24 -07:00
driver.c USB: flush outstanding URBs when suspending 2007-10-12 14:55:26 -07:00
endpoint.c USB: Get rid of annoying endpoint-release message 2007-10-12 14:55:25 -07:00
file.c
generic.c USB: move decision to ignore FREEZE events 2007-10-12 14:55:26 -07:00
hcd-pci.c
hcd.c USB: flush outstanding URBs when suspending 2007-10-12 14:55:26 -07:00
hcd.h USB: break apart flush_endpoint and disable_endpoint 2007-10-12 14:55:26 -07:00
hub.c USB: fix limited_power setting mistake in hub.c 2007-10-12 14:55:27 -07:00
hub.h
inode.c
Kconfig
Makefile
message.c USB: break apart flush_endpoint and disable_endpoint 2007-10-12 14:55:26 -07:00
notify.c
otg_whitelist.h
quirks.c
sysfs.c
urb.c USB: flush outstanding URBs when suspending 2007-10-12 14:55:26 -07:00
usb.c USB: flush outstanding URBs when suspending 2007-10-12 14:55:26 -07:00
usb.h