]> git.baikalelectronics.ru Git - kernel.git/commit
USB: ohci-jz4740: FEAT_POWER is a port feature, not a hub feature
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 14 Apr 2014 10:08:14 +0000 (12:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Apr 2014 20:59:41 +0000 (13:59 -0700)
commit0875d48db88c0fe732141de9f6f5d228b83a7a12
tree1184d2f95f2a8299eff4f1f663f35085b37a297f
parent4c335ee98645be38b9361f3e2846dcacaf4a22d3
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 <laurent.pinchart@ideasonboard.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ohci-jz4740.c