diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2017-05-22 10:23:58 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-06-20 10:30:27 +0200 |
commit | 2185bc2cd617de0a0b3b7c5a0ca42c82d0a15cff (patch) | |
tree | fedf4bac2821cda0002cefae3fa5e67c583fe941 /drivers/mmc/host/sdhci-sirf.c | |
parent | 0493f6fe5bdee8ac101a1a0c449971c2d4665e99 (diff) | |
download | linux-next-2185bc2cd617de0a0b3b7c5a0ca42c82d0a15cff.tar.gz |
mmc: block: Use __mmc_send_status() and drop get_card_status()
The only reason to why the mmc block device driver needs to implements its
own version of how to get the status of the card, is that it needs to
specify a different amount of retries.
Therefore add a new exported function which allows the caller to specify
the number of retries and convert everybody to use it, as this simplifies
the code.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-sirf.c')
0 files changed, 0 insertions, 0 deletions