mmc: core: don't try to switch block size for dual rate mode
authorZiyuan Xu <xzy.xu@rock-chips.com>
Wed, 21 Sep 2016 01:43:49 +0000 (09:43 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 26 Sep 2016 19:31:34 +0000 (21:31 +0200)
commit1712c9373f98ae8ed41599a8d7841a6fba29c264
treedfe7bbe366d7afe3394413deff7b7bba308c3893
parent3794c542641f1a7a329f31c87927e2c5f5417670
mmc: core: don't try to switch block size for dual rate mode

Per spec, block size should always be 512 bytes for dual rate mode,
so any attempts to switch the block size under dual rate mode should
be neglected.

Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/core.c