Skip to content

Commit baaa256

Browse files
committed
Merge tag 'mmc-v6.13-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc
Pull MMC fixes from Ulf Hansson: - mtk-sd: Cleanup the wakeup configuration in error/remove-path - sdhci-tegra: Correct quirk for ADMA2 length * tag 'mmc-v6.13-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc: mmc: mtk-sd: disable wakeup in .remove() and in the error path of .probe() mmc: sdhci-tegra: Remove SDHCI_QUIRK_BROKEN_ADMA_ZEROLEN_DESC quirk
2 parents a0db71c + f3d87ab commit baaa256

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

drivers/mmc/host/mtk-sd.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3070,6 +3070,7 @@ static int msdc_drv_probe(struct platform_device *pdev)
30703070
msdc_gate_clock(host);
30713071
platform_set_drvdata(pdev, NULL);
30723072
release_mem:
3073+
device_init_wakeup(&pdev->dev, false);
30733074
if (host->dma.gpd)
30743075
dma_free_coherent(&pdev->dev,
30753076
2 * sizeof(struct mt_gpdma_desc),
@@ -3103,6 +3104,7 @@ static void msdc_drv_remove(struct platform_device *pdev)
31033104
host->dma.gpd, host->dma.gpd_addr);
31043105
dma_free_coherent(&pdev->dev, MAX_BD_NUM * sizeof(struct mt_bdma_desc),
31053106
host->dma.bd, host->dma.bd_addr);
3107+
device_init_wakeup(&pdev->dev, false);
31063108
}
31073109

31083110
static void msdc_save_reg(struct msdc_host *host)

drivers/mmc/host/sdhci-tegra.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1525,7 +1525,6 @@ static const struct sdhci_pltfm_data sdhci_tegra186_pdata = {
15251525
.quirks = SDHCI_QUIRK_BROKEN_TIMEOUT_VAL |
15261526
SDHCI_QUIRK_SINGLE_POWER_WRITE |
15271527
SDHCI_QUIRK_NO_HISPD_BIT |
1528-
SDHCI_QUIRK_BROKEN_ADMA_ZEROLEN_DESC |
15291528
SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN,
15301529
.quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN |
15311530
SDHCI_QUIRK2_ISSUE_CMD_DAT_RESET_TOGETHER,

0 commit comments

Comments
 (0)