USB: ohci-jz4740: FEAT_POWER is a port feature, not a hub feature
authorLaurent Pinchart <[email protected]>
Mon, 14 Apr 2014 10:08:14 +0000 (12:08 +0200)
committerGreg Kroah-Hartman <[email protected]>
Wed, 16 Apr 2014 20:59:41 +0000 (13:59 -0700)
commit166cf4aa354c0066cb1903336382772e9e1b7941
tree1184d2f95f2a8299eff4f1f663f35085b37a297f
parent4d6b5161dba1aa1964e505d2a09bfe4e3a1a7378
USB: ohci-jz4740: FEAT_POWER is a port feature, not a hub feature

Power control of hub ports target the CLEAR_FEATURE and SET_FEATURE
requests to ports, not to the hub. Fix the hub control function to
detect the request correctly.

Signed-off-by: Laurent Pinchart <[email protected]>
Acked-by: Lars-Peter Clausen <[email protected]>
Acked-by: Alan Stern <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/usb/host/ohci-jz4740.c