summaryrefslogtreecommitdiffstats
path: root/drivers/pnp/pnpbios
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 01:42:29 +0200
commitf13639dc6043eb67e308aa5cf96717a86c10f8b9 (patch)
treeb9db2344a4962138a2ec58acbca40aa8fa5ead6e /drivers/pnp/pnpbios
parentmxs/spi: Decrement the DMA/PIO border (diff)
downloadlinux-f13639dc6043eb67e308aa5cf96717a86c10f8b9.tar.xz
linux-f13639dc6043eb67e308aa5cf96717a86c10f8b9.zip
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/pnp/pnpbios')
0 files changed, 0 insertions, 0 deletions