summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/mxs-mmc.c
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2012-09-04 04:40:18 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-09-06 07:42:29 +0800
commitf13639dc6043eb67e308aa5cf96717a86c10f8b9 (patch)
treeb9db2344a4962138a2ec58acbca40aa8fa5ead6e /drivers/mmc/host/mxs-mmc.c
parent727c10e3e54c4404f6842d246b15fe3703d33556 (diff)
mxs/spi: Rework the mxs_ssp_timeout to be more readable
Rework the mxs_ssp_timeout() function to make it a bit more readable and hopefully less error prone. Also, have only one successful exit from the function and one failing exit instead of two. Finally, discard the udelay() from this function altogether, as this tightloop is quick enough it's pointless. Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/mmc/host/mxs-mmc.c')
0 files changed, 0 insertions, 0 deletions