OSDN Git Service

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)
commitec4fc1acf363985882c37278bfe8881c4e0ec121
treefc30c903186d0c170f44e4852863875543541f18
parent92fa2a567d520ed71bb810a3b24c6b60f8ef329c
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