]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: renesas_sdhi: drop local flag for tuning
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 22 Sep 2020 17:22:53 +0000 (19:22 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 25 Sep 2020 11:24:02 +0000 (13:24 +0200)
commita48695c0931f946f89d5ee43a1e3c14361ab48c8
tree733fcbe82d6cf8109e4d5071266ff604647cb857
parent5ab23845b835ce18ebb346907a074eaab5091d95
mmc: renesas_sdhi: drop local flag for tuning

The MMC core has now a generic check if some tuning is in progress. Its
protected area is a bit larger than the custom one in this driver but we
concluded that this works equally well for the intended case. So, drop
the local flag and switch to the generic one.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Link: https://lore.kernel.org/r/20200922172253.4458-1-wsa@kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/renesas_sdhi.h
drivers/mmc/host/renesas_sdhi_core.c