diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2020-09-01 17:02:48 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2020-09-07 09:16:31 +0200 |
commit | 97a7d87e96b02fc5b3944d7735e0f6b8446d07da (patch) | |
tree | 58b9049f86266db853ed18fbfb4e94b204b144e2 /.cocciconfig | |
parent | 24fdcb377892b44dfe9755a62e4b92e9c6a0b359 (diff) | |
download | linux-97a7d87e96b02fc5b3944d7735e0f6b8446d07da.tar.bz2 |
mmc: core: add a 'doing_init_tune' flag and a 'mmc_doing_tune' helper
Our driver needs to know when tuning is in progress. 'doing_retune' only
covers re-tuning, not the initial tuning. Add another flag to detect the
initial tuning state and add a helper which tells us if any kind of
tuning is going on. Only implemented for MMC currently because that's
where we need it. SD can be added later if it becomes necessary.
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/20200901150250.26236-3-wsa+renesas@sang-engineering.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions