]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
imx: usb: ehci-mx6: wait_for_bit to check reg status
authorAdrian Alonso <aalonso@freescale.com>
Thu, 6 Aug 2015 20:46:03 +0000 (15:46 -0500)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 08:29:37 +0000 (10:29 +0200)
commit79177e7f25ccd43ac8c860104e5d12b2169d1a3e
tree6936cbc25da0a203a8272e2c17f5bcf773bd829c
parent07bf09014aa6920c6540e53762bccfdb1ebc1828
imx: usb: ehci-mx6: wait_for_bit to check reg status

Add wait_for_bit to check reg bit status and replace unbounded
loops to check usb command status

Signed-off-by: Adrian Alonso <aalonso@freescale.com>
drivers/usb/host/ehci-mx6.c