]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: renesas_sdhi: clarify handling of selecting TAPs
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Wed, 8 Apr 2020 09:46:37 +0000 (11:46 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 28 May 2020 09:20:57 +0000 (11:20 +0200)
commit1b666d0c9d01d0694fe4ffc581aa0d41f8d41a88
treefc30c903186d0c170f44e4852863875543541f18
parentd560b38880b5e930b8dd107dd6ecfa204e9f76e8
mmc: renesas_sdhi: clarify handling of selecting TAPs

The comment and the define about how TAPs are selected were confusing to
me because the good TAP was only valid if it was bigger than a *_MAX_*
value. Rename the define and adapt the comment to what really happens.

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