Skip to content

Commit f7a447e

Browse files
committed
Merge tag 'mmc-v5.19-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc
Pull MMC fixes from Ulf Hansson: "MMC core: - Fix CQE recovery reset success for block I/O MMC host: - sdhci-pci-gli: Fix support for runtime resume - Fix unevaluatedProperties warnings in DT examples" * tag 'mmc-v5.19-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc: dt-bindings: mmc: Fix unevaluatedProperties warnings in examples mmc: block: Fix CQE recovery reset success mmc: sdhci-pci-gli: Fix GL9763E runtime PM when the system resumes from suspend
2 parents e71e60c + 4792604 commit f7a447e

4 files changed

Lines changed: 7 additions & 4 deletions

File tree

Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ examples:
7575
sd-uhs-sdr104;
7676
sdhci,auto-cmd12;
7777
interrupts = <0x0 0x26 0x4>;
78-
interrupt-names = "sdio0_0";
7978
clocks = <&scmi_clk 245>;
8079
clock-names = "sw_sdio";
8180
};
@@ -94,7 +93,6 @@ examples:
9493
non-removable;
9594
bus-width = <0x8>;
9695
interrupts = <0x0 0x27 0x4>;
97-
interrupt-names = "sdio1_0";
9896
clocks = <&scmi_clk 245>;
9997
clock-names = "sw_sdio";
10098
};

Documentation/devicetree/bindings/mmc/marvell,xenon-sdhci.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ properties:
5656
- const: core
5757
- const: axi
5858

59+
interrupts:
60+
maxItems: 1
61+
5962
marvell,xenon-sdhc-id:
6063
$ref: /schemas/types.yaml#/definitions/uint32
6164
minimum: 0

drivers/mmc/core/block.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1499,8 +1499,7 @@ void mmc_blk_cqe_recovery(struct mmc_queue *mq)
14991499
err = mmc_cqe_recovery(host);
15001500
if (err)
15011501
mmc_blk_reset(mq->blkdata, host, MMC_BLK_CQE_RECOVERY);
1502-
else
1503-
mmc_blk_reset_success(mq->blkdata, MMC_BLK_CQE_RECOVERY);
1502+
mmc_blk_reset_success(mq->blkdata, MMC_BLK_CQE_RECOVERY);
15041503

15051504
pr_debug("%s: CQE recovery done\n", mmc_hostname(host));
15061505
}

drivers/mmc/host/sdhci-pci-gli.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -982,6 +982,9 @@ static int gl9763e_runtime_resume(struct sdhci_pci_chip *chip)
982982
struct sdhci_host *host = slot->host;
983983
u16 clock;
984984

985+
if (host->mmc->ios.power_mode != MMC_POWER_ON)
986+
return 0;
987+
985988
clock = sdhci_readw(host, SDHCI_CLOCK_CONTROL);
986989

987990
clock |= SDHCI_CLOCK_PLL_EN;

0 commit comments

Comments
 (0)