mmc: sdhci-pxav3: remove cd-broken quirk for permanently present card
authorKevin Liu <kliu5@marvell.com>
Mon, 25 Mar 2013 09:42:57 +0000 (17:42 +0800)
committerChris Ball <cjb@laptop.org>
Thu, 4 Apr 2013 13:58:20 +0000 (09:58 -0400)
commitc844a46f135e493ffda0bd770e16f6c3dd6c7eb7
tree1bbd0e765f6cde831b85c76187931423b3ea2d8b
parent73b7afb9764b77fca99d515b8d9cbeeaae5fe55c
mmc: sdhci-pxav3: remove cd-broken quirk for permanently present card

Flag PXA_FLAG_CARD_PERMANENT is set in sdhci_pxa_platdata flags to
indicate that the card is always wired to host, like on-chip emmc,
which is permanently present and don't need detection.

So only MMC_CAP_NONREMOVABLE should be set for this case. But current
code also sets SDHCI_QUIRK_BROKEN_CARD_DETECTION, which doesn't make
sense.

Signed-off-by: Kevin Liu <kliu5@marvell.com>
Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-pxav3.c