diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2020-09-22 19:22:53 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2020-09-25 13:24:02 +0200 |
commit | fbb31330f9b00bf62fe126a1ea118c02389b06f0 (patch) | |
tree | 733fcbe82d6cf8109e4d5071266ff604647cb857 /drivers/mmc/host/renesas_sdhi.h | |
parent | mmc: rtsx_usb_sdmmc: simplify the return expression of sd_change_phase() (diff) | |
download | linux-dev-fbb31330f9b00bf62fe126a1ea118c02389b06f0.tar.xz linux-dev-fbb31330f9b00bf62fe126a1ea118c02389b06f0.zip |
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>
Diffstat (limited to 'drivers/mmc/host/renesas_sdhi.h')
-rw-r--r-- | drivers/mmc/host/renesas_sdhi.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mmc/host/renesas_sdhi.h b/drivers/mmc/host/renesas_sdhi.h index 24958de274c1..cb962c7883dc 100644 --- a/drivers/mmc/host/renesas_sdhi.h +++ b/drivers/mmc/host/renesas_sdhi.h @@ -63,7 +63,6 @@ struct renesas_sdhi { u32 scc_tappos_hs400; const u8 *adjust_hs400_calib_table; bool needs_adjust_hs400; - bool doing_tune; /* Tuning values: 1 for success, 0 for failure */ DECLARE_BITMAP(taps, BITS_PER_LONG); |