| From 895beeb9f9a78d1df746d36c8b23027bfb5519ef Mon Sep 17 00:00:00 2001 |
| From: Wolfram Sang <wsa+renesas@sang-engineering.com> |
| Date: Mon, 12 Dec 2016 20:51:24 +0100 |
| Subject: [PATCH 149/255] mmc: sh_mobile_sdhi: remove superfluous check in |
| init_tuning |
| |
| The function will only be available if SDR104 was detected in probe, |
| so no need to check 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 7f9096f1c89ea698c22fde91285de2ef3eabd614) |
| 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 |
| @@ -335,9 +335,6 @@ static unsigned int sh_mobile_sdhi_init_ |
| { |
| struct sh_mobile_sdhi *priv; |
| |
| - if (!(host->mmc->caps & MMC_CAP_UHS_SDR104)) |
| - return 0; |
| - |
| priv = host_to_priv(host); |
| |
| /* set sampling clock selection range */ |