From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Fri, 27 Sep 2013 16:36:27 +0200 Subject: [U-Boot] [PATCH v2] usb: ehci: Fix test mode for connected ports In-Reply-To: <1380045187-7320-1-git-send-email-jwerner@chromium.org> References: <1379464155-13250-1-git-send-email-jwerner@chromium.org> <201309240859.43105.marex@denx.de> <1380045187-7320-1-git-send-email-jwerner@chromium.org> Message-ID: <201309271636.27952.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Julius Werner, > 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 > --- Applied, thanks Best regards, Marek Vasut