summaryrefslogtreecommitdiffstats
path: root/drivers/usb/misc
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2010-03-04 23:05:08 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-20 22:21:31 +0200
commit749da5f82fe33ff68dd4aa1a5e35cd9aa6246dab (patch)
tree2c0a7c689ab6a58f3a799ae51e41ac885e212194 /drivers/usb/misc
parentUSB: remove bogus USB_PORT_FEAT_*_SPEED symbols (diff)
downloadlinux-749da5f82fe33ff68dd4aa1a5e35cd9aa6246dab.tar.xz
linux-749da5f82fe33ff68dd4aa1a5e35cd9aa6246dab.zip
USB: straighten out port feature vs. port status usage
This patch (as1349b) clears up the confusion in many USB host controller drivers between port features and port statuses. In mosty cases it's true that the status bit is in the position given by the corresponding feature value, but that's not always true and it's not guaranteed in the USB spec. There's no functional change, just replacing expressions of the form (1 << USB_PORT_FEAT_x) with USB_PORT_STAT_x, which has the same value. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/misc')
0 files changed, 0 insertions, 0 deletions