mmc: tmio: control multiple block transfer mode
authorShinobu Uehara <shinobu.uehara.xc@renesas.com>
Mon, 25 Aug 2014 03:00:25 +0000 (20:00 -0700)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 5 Dec 2014 01:39:26 +0000 (10:39 +0900)
commite167b018f2e046337fd6a6f239be4901103efd50
tree00f90309c8b0a3ff62d0e156ecb9f3df631467d7
parent1910e27b61aef3686a366544a3104dac8f777647
mmc: tmio: control multiple block transfer mode

Renesas SDHI has "Multiple Block Transfer Mode" settings
on SD_CMD register which controls CMD12 automatically.

This patch cares it, because
CMD12 is not needed when CMD53 (= SD_IO_RW_EXTENDED)

[Kuninori Morimoto: tidyuped for upstreaming
                    enabled this flags for all SH-Mobile/R-Car]

Tested-by: Nguyen Xuan Nui <nx-nui@jinso.co.jp>
Tested-by: Hiep Cao Minh <cm-hiep@jinso.co.jp>
Signed-off-by: Shinobu Uehara <shinobu.uehara.xc@renesas.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
(cherry picked from commit b8d11962c2d83c984d5afd091e5b725ad2fd5607)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/mmc/host/sh_mobile_sdhi.c
drivers/mmc/host/tmio_mmc_pio.c
include/linux/mfd/tmio.h