aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/host
diff options
context:
space:
mode:
authorjidong xiao <jidong.xiao@gmail.com>2007-09-14 00:08:51 +0800
committerGreg Kroah-Hartman <gregkh@suse.de>2007-10-12 14:55:27 -0700
commit403fae78d7388876b96fbe30ccf2cb551c49ae5a (patch)
tree49b1dd0cfd74f676bca9c4273de320ca137e2444 /drivers/usb/host
parented6590a861a16276db34ee626375fa79f3369ac3 (diff)
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>
Diffstat (limited to 'drivers/usb/host')
0 files changed, 0 insertions, 0 deletions