]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: cavium: Fix detection of block or byte addressing.
authorSteven J. Hill <Steven.Hill@cavium.com>
Mon, 24 Apr 2017 18:41:56 +0000 (13:41 -0500)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 24 Apr 2017 19:49:48 +0000 (21:49 +0200)
commitdceb9781dcad8b9bdb88b9f7c06b2e47f5ad789e
tree7fcc04b00063b4780c05b51f60c3bc581f64e3ed
parent33e6d74d65c358270f00d228877178964aab84b3
mmc: cavium: Fix detection of block or byte addressing.

Use the mmc_card_is_blockaddr() function to properly detect if the
card uses byte or block addressing.

Signed-off-by: Steven J. Hill <Steven.Hill@cavium.com>
Acked-by: David Daney <david.daney@cavium.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/cavium.c