summaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_mpc52xx.c
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2014-01-14 21:31:35 +0100
committerChris Ball <chris@printf.net>2014-02-23 10:41:11 -0500
commitbb5cba40dc7f079ea7ee3ae760b7c388b6eb5fc3 (patch)
tree2a2ff4d4f77b1e82d115ce9b44cae87b4f919805 /drivers/ata/pata_mpc52xx.c
parent95a91298fc09db0c21193ace96d1934598dd92dd (diff)
mmc: block: Fixup busy detection while invoking stop cmd at recovery
When sending a stop command at the recovery path, use a R1B response when the failing data request are a WRITE. Thus we also care about the busy detection completion in this case. For a failing READ request, we use a R1 response for the stop command, since we don't need to care about busy detection in this case. To align behavior between hosts supporting MMC_CAP_WAIT_WHILE_BUSY and those who are not, we add a CMD13 polling method for the card's status. We also respect whether the host has specified the max_busy_timeout, which means we may fallback to CMD13 polling if the timeout is greater than what the host are able to support. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Chris Ball <chris@printf.net>
Diffstat (limited to 'drivers/ata/pata_mpc52xx.c')
0 files changed, 0 insertions, 0 deletions