diff options
author | Johan Rudholm <johan.rudholm@stericsson.com> | 2013-01-28 14:08:26 (GMT) |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2013-02-24 19:37:07 (GMT) |
commit | d887874e0ead6a0b86b6046b872730c81c121352 (patch) | |
tree | 665b0398130d23a7636ab3b4900324464c0abf7d /include | |
parent | 276e090f9217b69e46d8255132d2667ac5eec51b (diff) | |
download | linux-fsl-qoriq-d887874e0ead6a0b86b6046b872730c81c121352.tar.xz |
mmc: core: Add card_busy to host_ops
This host_ops member is used to test if the card is signaling busy by
pulling dat[0:3] low.
Signed-off-by: Johan Rudholm <johan.rudholm@stericsson.com>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Tested-by: Wei WANG <wei_wang@realsil.com.cn>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mmc/host.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h index 523d570..0373b0a 100644 --- a/include/linux/mmc/host.h +++ b/include/linux/mmc/host.h @@ -131,6 +131,9 @@ struct mmc_host_ops { int (*start_signal_voltage_switch)(struct mmc_host *host, struct mmc_ios *ios); + /* Check if the card is pulling dat[0:3] low */ + int (*card_busy)(struct mmc_host *host); + /* The tuning command opcode value is different for SD and eMMC cards */ int (*execute_tuning)(struct mmc_host *host, u32 opcode); void (*enable_preset_value)(struct mmc_host *host, bool enable); |