mmc: omap_hsmmc: improve timeout checks in wait loops
authorLothar Waßmann <LW@KARO-electronics.de>
Thu, 26 Jun 2014 10:01:00 +0000 (12:01 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 26 Jun 2014 10:21:31 +0000 (12:21 +0200)
commita55c0a933a7538fdc285744d270a2361f6e3deef
tree657237e393b6014306073038edf5f5ee402f7878
parentd1c6aa1b7fc8e780b330c920f4b5cbb2c630cb5c
mmc: omap_hsmmc: improve timeout checks in wait loops

restructure the timeout loops, so that after timing out the loop
condition is checked again. U-Boot is not a multitasking OS where this
would be essential, but this is a good habit anyway.
drivers/mmc/omap_hsmmc.c