Ignore:
Timestamp:
Apr 14, 2017, 9:41:36 PM (6 weeks ago)
Author:
brainslayer
Message:

kernel update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-4.9/drivers/mmc/host/sdhci-of-esdhc.c

    r31574 r31859  
    560560
    561561static const struct sdhci_pltfm_data sdhci_esdhc_be_pdata = {
    562         .quirks = ESDHC_DEFAULT_QUIRKS | SDHCI_QUIRK_BROKEN_CARD_DETECTION
    563                 | SDHCI_QUIRK_NO_CARD_NO_RESET
    564                 | SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC,
     562        .quirks = ESDHC_DEFAULT_QUIRKS |
     563#ifdef CONFIG_PPC
     564                  SDHCI_QUIRK_BROKEN_CARD_DETECTION |
     565#endif
     566                  SDHCI_QUIRK_NO_CARD_NO_RESET |
     567                  SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC,
    565568        .ops = &sdhci_esdhc_be_ops,
    566569};
    567570
    568571static const struct sdhci_pltfm_data sdhci_esdhc_le_pdata = {
    569         .quirks = ESDHC_DEFAULT_QUIRKS | SDHCI_QUIRK_BROKEN_CARD_DETECTION
    570                 | SDHCI_QUIRK_NO_CARD_NO_RESET
    571                 | SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC,
     572        .quirks = ESDHC_DEFAULT_QUIRKS |
     573                  SDHCI_QUIRK_NO_CARD_NO_RESET |
     574                  SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC,
    572575        .ops = &sdhci_esdhc_le_ops,
    573576};
     
    624627            of_device_is_compatible(np, "fsl,p4080-esdhc") ||
    625628            of_device_is_compatible(np, "fsl,p1020-esdhc") ||
    626             of_device_is_compatible(np, "fsl,t1040-esdhc") ||
    627             of_device_is_compatible(np, "fsl,ls1021a-esdhc"))
     629            of_device_is_compatible(np, "fsl,t1040-esdhc"))
    628630                host->quirks &= ~SDHCI_QUIRK_BROKEN_CARD_DETECTION;
    629631
Note: See TracChangeset for help on using the changeset viewer.