mmc: sdio: Workaround for dev with broken CMD53
authorStefan Nilsson XK <stefan.xk.nilsson@stericsson.com>
Thu, 15 Sep 2011 15:43:04 +0000 (17:43 +0200)
committerChris Ball <cjb@laptop.org>
Wed, 26 Oct 2011 20:32:02 +0000 (16:32 -0400)
commit9a0da648ff3a5020406ac7784eb3b519014f66f6
tree54e546b73bbba36a2a3277eb8cde2771595b37a4
parent329f22371460587c59b866dcbffce5b498b61f38
mmc: sdio: Workaround for dev with broken CMD53

Adds a quirk which can be turned on for SDIO devices that do not support
512 byte requests in byte mode during CMD53. These requests will always
be sent in block mode instead.

This patch also enables this quirk for ST-Ericsson CW1200 WLAN device.

Signed-off-by: Stefan Nilsson XK <stefan.xk.nilsson@stericsson.com>
Signed-off-by: Ulf HANSSON <ulf.hansson@stericsson.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/quirks.c
drivers/mmc/core/sdio_ops.c
include/linux/mmc/card.h