]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
usb: Correct CLEAR_FEATURE code in ehci-hcd
authorSimon Glass <sjg@chromium.org>
Sat, 11 May 2013 02:49:00 +0000 (19:49 -0700)
committerMarek Vasut <marex@denx.de>
Wed, 12 Jun 2013 20:22:50 +0000 (22:22 +0200)
commited10e66aba4d6a0151dc6dff2fa93d5fd19bc8a2
tree6483ddac306970b6565ab6897ab949ed9ffa9b43
parent5da2dc9789abecb1b018beb0c93f4c38c2985bc6
usb: Correct CLEAR_FEATURE code in ehci-hcd

This commit broke USB2 on link (Chromebook Pixel):

  020bbcb usb: hub: Power-cycle on root-hub ports

However the root cause seems to be a missing mask and missing 'break'
in ehci-hcd.c. This patch fixes both.

On link, 'usb start' with a USB keyboard and memory stick inserted now
finds both. The keyboard works as expected. Also ext2ls shows a directory
listing from the memory stick.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/usb/host/ehci-hcd.c