mmc: dw_mmc: Add a DISABLE_MMC quirk that sets the core mmc cap
authorDoug Anderson <dianders@chromium.org>
Tue, 21 Aug 2012 19:45:40 +0000 (12:45 -0700)
committerGerrit <chrome-bot@google.com>
Tue, 21 Aug 2012 23:40:53 +0000 (16:40 -0700)
commit9416603d90e4240f637cc6b1ea4afa3774b8ae04
treec00f117af11ee60cc84f474be43d1d82cd12de2f
parenta4d7e39b77016429d354ca4c65215e6cc2bfbba6
mmc: dw_mmc: Add a DISABLE_MMC quirk that sets the core mmc cap

This quirk can be set from the device tree to disable mmc on a given
slot.

BUG=chrome-os-partner:11811
TEST=With patch series, plug in an MMC card and saw that it was
detected before this patch but isn't detected after.

Change-Id: I169b070578cff16b74f1556934e09ea3ea542b84
Signed-off-by: Doug Anderson <dianders@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/31022
drivers/mmc/host/dw_mmc.c
include/linux/mmc/dw_mmc.h