summaryrefslogtreecommitdiff
path: root/drivers/mmc
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2012-09-04 06:40:18 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-09-06 03:42:29 +0400
commitf13639dc6043eb67e308aa5cf96717a86c10f8b9 (patch)
treeb9db2344a4962138a2ec58acbca40aa8fa5ead6e /drivers/mmc
parent727c10e3e54c4404f6842d246b15fe3703d33556 (diff)
downloadlinux-f13639dc6043eb67e308aa5cf96717a86c10f8b9.tar.xz
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')
0 files changed, 0 insertions, 0 deletions