summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang2016-12-12 20:51:23 +0100
committerUlf Hansson2017-02-13 13:19:50 +0100
commit97c64b2cd57608f7064810780056d17944f49128 (patch)
tree184d7253bbe757d7cff2574df5ac3922ce8805c2
parentmmc: sh_mobile_sdhi: improve prerequisites for tuning (diff)
downloadkernel-qcow2-linux-97c64b2cd57608f7064810780056d17944f49128.tar.gz
kernel-qcow2-linux-97c64b2cd57608f7064810780056d17944f49128.tar.xz
kernel-qcow2-linux-97c64b2cd57608f7064810780056d17944f49128.zip
mmc: sh_mobile_sdhi: remove superfluous check in hw_reset
The capability for HW_RESET is only activated if SDR104 is present, so no need to check for SDR104 in the function itself again. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
-rw-r--r--drivers/mmc/host/sh_mobile_sdhi.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/mmc/host/sh_mobile_sdhi.c b/drivers/mmc/host/sh_mobile_sdhi.c
index b30c7f7f988c..3f986e802980 100644
--- a/drivers/mmc/host/sh_mobile_sdhi.c
+++ b/drivers/mmc/host/sh_mobile_sdhi.c
@@ -468,9 +468,6 @@ static void sh_mobile_sdhi_hw_reset(struct tmio_mmc_host *host)
{
struct sh_mobile_sdhi *priv;
- if (!(host->mmc->caps & MMC_CAP_UHS_SDR104))
- return;
-
priv = host_to_priv(host);
/* Reset SCC */