]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
mmc: sh_mmcif: force to fail CMD52 immediately
authorTeppei Kamijou <teppei.kamijou.yb@renesas.com>
Wed, 12 Dec 2012 14:38:05 +0000 (15:38 +0100)
committerChris Ball <cjb@laptop.org>
Mon, 11 Feb 2013 17:51:24 +0000 (12:51 -0500)
commit92ff0c5bc4000d6b2b1bfc8cd40bd1397a03c8ec
tree46608fdf106b3e68905209bc00d88316e3cf1957
parentfbe5fdd12c4cdae61a8c3d371e564371177da86e
mmc: sh_mmcif: force to fail CMD52 immediately

mmc_rescan() sends CMD52 (SD_IO_RW_DIRECT) to reset SDIO card during
card detection. CMD52 should be ignored by SD/eMMC cards, but we can
also abort it in the driver immediately, since MMCIF doesn't support
SDIO cards anyway.

Signed-off-by: Teppei Kamijou <teppei.kamijou.yb@renesas.com>
Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi.px@renesas.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sh_mmcif.c