usbcore: check device's LPM capability
authorAndiry Xu <andiry.xu@amd.com>
Fri, 23 Sep 2011 21:19:48 +0000 (14:19 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 26 Sep 2011 22:51:08 +0000 (15:51 -0700)
commit1ff4df56846d10379939166713bb2908e6a5ee0e
treea2cacc55c0496016be4a44f72b96a0717ba91948
parent3148bf041d169a083aa31bd69bedd5bfb7ffe215
usbcore: check device's LPM capability

Check device's LPM capability by examining the bmAttibutes field of the
USB2.0 Extension Descriptor.

Signed-off-by: Andiry Xu <andiry.xu@amd.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/hub.c
include/linux/usb.h