]> 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)
commit219d75e5e75ead96d5555d85f5f31c43559aeb01
tree733fcbe82d6cf8109e4d5071266ff604647cb857
parentb9f62d5048472c8e8fb662b0c4e3293f4404d469
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