commit | 9f20dfb44d03745d0d3cef2ffb3abf8d8024fa61 | [log] [tgz] |
---|---|---|
author | Yuyang Du <yuyang.du@intel.com> | Fri Mar 24 04:06:11 2017 +0800 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Tue Apr 11 10:58:21 2017 +0300 |
tree | b800d9d7527da0c10cf8f37c1f9a164cd0d66b4e | |
parent | a2cfed43386c697e0aad0d14439eb62042a18afc [diff] |
usb: gadget: dummy_hcd: Fix wrong power status bit clear/reset in dummy_hub_control() This fixes the commit: 1cd8fd2887e1 ("usb: gadget: dummy_hcd: add SuperSpeed support"). In the case of ClearPortFeature and USB_PORT_FEAT_POWER, simply clear the right bit regardless of what the wValue is. Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Yuyang Du <yuyang.du@intel.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>