diff options
author | Sahitya Tummala <stummala@codeaurora.org> | 2015-03-13 11:33:51 +0530 |
---|---|---|
committer | Sahitya Tummala <stummala@codeaurora.org> | 2015-03-20 09:12:30 +0530 |
commit | 90ae3710a70af7052da442ae0a0778166c29c420 (patch) | |
tree | 7516b8e7d4dac45ef2ec878af5c2d404283bf950 /include/linux | |
parent | c6669e2fcc7cbe92ef0e9ca9724d46e95bee595f (diff) | |
download | qcom-msm-v3.10-90ae3710a70af7052da442ae0a0778166c29c420.tar.gz |
mmc: sdhci: Add new quirk for broken SDHCI LED control
Some controllers may not have any LED control to indicate
its status. Use this quirk for such controllers to avoid
registering any LED device with LED class and also to
avoid exposing sysfs nodes which doesn't actually control
any LED.
Change-Id: Ia3414583982bbaa8c8537b74c4ca140071ebb2f8
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/mmc/sdhci.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mmc/sdhci.h b/include/linux/mmc/sdhci.h index 28e6f49cfbf..6dcd8a315a5 100644 --- a/include/linux/mmc/sdhci.h +++ b/include/linux/mmc/sdhci.h @@ -175,6 +175,8 @@ struct sdhci_host { * the bounce buffer logic when preparing data */ #define SDHCI_QUIRK2_ADMA_SKIP_DATA_ALIGNMENT (1<<13) +/* Some controllers doesn't have have any LED control */ +#define SDHCI_QUIRK2_BROKEN_LED_CONTROL (1 << 14) int irq; /* Device IRQ */ void __iomem *ioaddr; /* Mapped address */ |