mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
97c64b2cd5
commit
7f9096f1c8
|
@ -335,9 +335,6 @@ static unsigned int sh_mobile_sdhi_init_tuning(struct tmio_mmc_host *host)
|
|||
{
|
||||
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 */
|
||||
|
|
Loading…
Reference in New Issue