]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: mmci: Enable support for busy detection for ux500 variant
authorUlf Hansson <ulf.hansson@linaro.org>
Mon, 13 Jan 2014 15:49:31 +0000 (16:49 +0100)
committerChris Ball <chris@printf.net>
Sun, 23 Feb 2014 15:41:21 +0000 (10:41 -0500)
commitbca14e6e0bfde6f0b0ce5ace101ae0b9c39c97e5
treefa21c1ab39f0955a29f50ca429e2ac43dad5534b
parent394e0a4ff8db877dba223280e13fa46f6dc7b368
mmc: mmci: Enable support for busy detection for ux500 variant

The ux500 variants have HW busy detection support, which is indicated
by the busy_detect flag. For these variants let's enable the
MMC_CAP_WAIT_WHILE_BUSY flag and add the support for it.

The mmc core will provide the RSP_BUSY command flag for those requests
we should care about busy detection. Regarding the max_busy_timeout,
the HW don't support busy detection timeouts so at this initial step
let's make it simple and set it to zero to indicate we are able to
support any timeout.

Cc: Russell King <linux@arm.linux.org.uk>
Cc: Johan Rudholm <jrudholm@gmail.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <chris@printf.net>
drivers/mmc/host/mmci.c
drivers/mmc/host/mmci.h