summaryrefslogtreecommitdiff
path: root/include/linux/stringify.h
diff options
context:
space:
mode:
authorJulius Werner <[email protected]>2013-09-24 10:53:07 -0700
committerMarek Vasut <[email protected]>2013-09-27 16:20:52 +0200
commit5077f96f10fe88f1f7cbe09743ac7c765f9e98c3 (patch)
tree65fbee5685c13fdf9271a878b3d752e94aab8ecc /include/linux/stringify.h
parent4585fc58639757ee6f3a654697a9fb5763adffcd (diff)
usb: ehci: Fix test mode for connected ports
The EHCI controller has some very specific requirements for the USB 2.0 port test modes, which were not closely followed in the initial test mode commit. It demands that the host controller is completely shut down (all ports suspended, Run/Stop bit unset) when activating test mode, and will not work on an already enumerated port. This patch fixes that by introducing a new ehci_shutdown() function that closely follows the procedure listed in EHCI 4.14. Also, when we have such a function anyway, we might as well also use it in usb_lowlevel_stop() to make the normal host controller shutdown cleaner. Signed-off-by: Julius Werner <[email protected]> Acked-by: Simon Glass <[email protected]>
Diffstat (limited to 'include/linux/stringify.h')
0 files changed, 0 insertions, 0 deletions