summaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorTakeshi Saito <takeshi.saito.xv@renesas.com>2019-02-21 20:38:05 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2019-02-26 10:01:49 +0100
commit5603731a15ef9ca317c122cc8c959f1dee1798b4 (patch)
treeccfd515046ddb145f736fefb3fe2e39a00259766 /.gitignore
parent5c27ff5db1491a947264d6d4e4cbe43ae6535bae (diff)
downloadlinux-5603731a15ef9ca317c122cc8c959f1dee1798b4.tar.bz2
mmc: tmio: fix access width of Block Count Register
In R-Car Gen2 or later, the maximum number of transfer blocks are changed from 0xFFFF to 0xFFFFFFFF. Therefore, Block Count Register should use iowrite32(). If another system (U-boot, Hypervisor OS, etc) uses bit[31:16], this value will not be cleared. So, SD/MMC card initialization fails. So, check for the bigger register and use apropriate write. Also, mark the register as extended on Gen2. Signed-off-by: Takeshi Saito <takeshi.saito.xv@renesas.com> [wsa: use max_blk_count in if(), add Gen2, update commit message] Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Cc: stable@kernel.org Reviewed-by: Simon Horman <horms+renesas@verge.net.au> [Ulf: Fixed build error] Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions