101-laguna_sdhci_card_detect.patch 512 B

1234567891011121314
  1. --- a/drivers/mmc/host/sdhci-cns3xxx.c
  2. +++ b/drivers/mmc/host/sdhci-cns3xxx.c
  3. @@ -88,9 +88,9 @@ static const struct sdhci_pltfm_data sdh
  4. .ops = &sdhci_cns3xxx_ops,
  5. .quirks = SDHCI_QUIRK_BROKEN_DMA |
  6. SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK |
  7. - SDHCI_QUIRK_INVERTED_WRITE_PROTECT |
  8. SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN |
  9. - SDHCI_QUIRK_BROKEN_TIMEOUT_VAL,
  10. + SDHCI_QUIRK_BROKEN_TIMEOUT_VAL |
  11. + SDHCI_QUIRK_BROKEN_CARD_DETECTION,
  12. };
  13. static int sdhci_cns3xxx_probe(struct platform_device *pdev)