]> git.proxmox.com Git - mirror_ubuntu-focal-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, 28 Jan 2013 11:51:32 +0000 (06:51 -0500)
commitcd0511503532320e68396c90617d5f91ed7cae1c
treefb267bfbdd54a73544d3ad9f8dac2425c0b13f1d
parentf6e644389d26ef12d40dc5f56c5d465006502d03
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