Blackfin: bfin_sdh: clean up send_cmd
authorMike Frysinger <vapier@gentoo.org>
Mon, 21 Jun 2010 20:56:54 +0000 (20:56 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sat, 2 Oct 2010 20:00:37 +0000 (16:00 -0400)
commit6815f540db61b4c038e3ffb98b52009d11d3c1c1
tree35338bbb7525d5488ecc0c74908ab4af1d80abc9
parent6f070e1867f5c31df17571b0c26f0a73cc3fe600
Blackfin: bfin_sdh: clean up send_cmd

Simplify the command setup and status checking steps, and add a proper
timeout to the status polling code to avoid possible infinite hangs.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
drivers/mmc/bfin_sdh.c