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)
commitfbb31330f9b00bf62fe126a1ea118c02389b06f0
tree733fcbe82d6cf8109e4d5071266ff604647cb857
parent8dae6a249c635cdc637ae07761beef866480ca0e
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