mmc: add MMC_QUIRK_BROKEN_CLK_GATING
authorPierre Tardy <tardyp@gmail.com>
Sun, 6 Feb 2011 18:03:47 +0000 (19:03 +0100)
committerChris Ball <cjb@laptop.org>
Tue, 15 Mar 2011 17:48:35 +0000 (13:48 -0400)
commitdb9935000d95ae3f9702b7ff6ac0eef2319d8772
tree86f75ca6ec0b73c728f19b0dd43e8702bef448bc
parent57f0adc7eaaf4315d568e72069dbe48aa7e20995
mmc: add MMC_QUIRK_BROKEN_CLK_GATING

Some sdio card are not following sdio standard, and do not work
when the sdio bus's clock is gated.

To keep functionnality for all legacy driver, we turn this quirk on
for every sdio card.
Drivers needs to disable the quirk manually when someone verifies that
their supported card works with clock gating.

Signed-off-by: Pierre Tardy <tardyp@gmail.com>
Acked-by: Ohad Ben-Cohen <ohad@wizery.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/host.c
drivers/mmc/core/quirks.c
include/linux/mmc/card.h