| From 1a7aec08d1bb61d7bc8dd950513736e47cd382e1 Mon Sep 17 00:00:00 2001 |
| From: Wolfram Sang <wsa+renesas@sang-engineering.com> |
| Date: Mon, 12 Dec 2016 20:51:23 +0100 |
| Subject: [PATCH 148/255] 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> |
| (cherry picked from commit 97c64b2cd57608f7064810780056d17944f49128) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| --- |
| drivers/mmc/host/sh_mobile_sdhi.c | 3 --- |
| 1 file changed, 3 deletions(-) |
| |
| --- 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(stru |
| { |
| struct sh_mobile_sdhi *priv; |
| |
| - if (!(host->mmc->caps & MMC_CAP_UHS_SDR104)) |
| - return; |
| - |
| priv = host_to_priv(host); |
| |
| /* Reset SCC */ |