Tegra2: mmc: Factor out mmc_wait_inhibit functionality
authorAnton staaf <robotboy@chromium.org>
Thu, 10 Nov 2011 11:56:52 +0000 (11:56 +0000)
committerAndy Fleming <afleming@freescale.com>
Sat, 12 Nov 2011 21:39:29 +0000 (15:39 -0600)
commit0963ff3a97ff63e85465008895a68eb2e1cdf112
tree16f67a7b885969a69e371acbbcaf8aa251136730
parent9b3d1873c8c829debe8e8ab487783577285530d3
Tegra2: mmc: Factor out mmc_wait_inhibit functionality

This is a well encapsulated section of mmc_send_cmd, by moving
it to it's own function it increases the readability of mmc_send_cmd.

Signed-off-by: Anton Staaf <robotboy@chromium.org>
Cc: Andy Fleming <afleming@gmail.com>
Cc: Tom Warren <twarren@nvidia.com>
Cc: Stephen Warren <swarren@nvidia.com>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
drivers/mmc/tegra2_mmc.c