aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core/sdio.c
diff options
context:
space:
mode:
authorPierre Tardy <pierre.tardy@intel.com>2011-02-06 19:03:46 +0100
committerChris Ball <cjb@laptop.org>2011-03-15 13:48:33 -0400
commit57f0adc7eaaf4315d568e72069dbe48aa7e20995 (patch)
tree233c66fd4f21b977f532702ce9427023b2e53e09 /drivers/mmc/core/sdio.c
parentmmc: put the led blinking code after clock ungating (diff)
downloadlinux-dev-57f0adc7eaaf4315d568e72069dbe48aa7e20995.tar.xz
linux-dev-57f0adc7eaaf4315d568e72069dbe48aa7e20995.zip
mmc: add per device quirk placeholder
Some cards have quirks valid for every platforms using current platform quirk hooks leads to a lot of code and debug duplication. So we inspire a bit from what exists in PCI subsystem and do our own per vendorid/deviceid quirk. We still drop the complexity of the pci quirk system (with special section tables, and so on). That can be added later if needed. Signed-off-by: Pierre Tardy <pierre.tardy@intel.com> Acked-by: Linus Walleij <linus.walleij@stericsson.com> Acked-by: Ohad Ben-Cohen <ohad@wizery.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/core/sdio.c')
-rw-r--r--drivers/mmc/core/sdio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/core/sdio.c b/drivers/mmc/core/sdio.c
index ebc62ad4cc56..c9fbb777440d 100644
--- a/drivers/mmc/core/sdio.c
+++ b/drivers/mmc/core/sdio.c
@@ -458,6 +458,7 @@ static int mmc_sdio_init_card(struct mmc_host *host, u32 ocr,
card = oldcard;
}
+ mmc_fixup_device(card);
if (card->type == MMC_TYPE_SD_COMBO) {
err = mmc_sd_setup_card(host, card, oldcard != NULL);