]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
mmc: renesas_sdhi: don't hardcode SDIF values
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Wed, 11 Nov 2020 10:02:43 +0000 (11:02 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 16 Nov 2020 11:54:59 +0000 (12:54 +0100)
commit0e08a411585214360938022ca3f50a9f1cd91753
tree7e7616864acc9bdb8cdf82cee9cf323089b0e460
parent4533c3eb893d8d6881f792a855fa5e11d5ddf0c2
mmc: renesas_sdhi: don't hardcode SDIF values

Use a macro to name the hardcoded values. Also, move the SDIF register
definition into the SDHI driver because this is an SDHI extension.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Link: https://lore.kernel.org/r/20201111100244.15823-3-wsa+renesas@sang-engineering.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/renesas_sdhi_core.c
drivers/mmc/host/tmio_mmc.h