Skip to content

Commit 886eade

Browse files
author
Ulf Hansson
committed
mmc: Merge branch fixes into next
Merge the mmc fixes for v6.16-rc[n] into the next branch, to allow them to get tested together with the new mmc changes that are targeted for v6.17. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2 parents f6ad153 + ff09b71 commit 886eade

3 files changed

Lines changed: 10 additions & 5 deletions

File tree

drivers/mmc/host/bcm2835.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,8 @@ void bcm2835_prepare_dma(struct bcm2835_host *host, struct mmc_data *data)
503503
DMA_PREP_INTERRUPT | DMA_CTRL_ACK);
504504

505505
if (!desc) {
506-
dma_unmap_sg(dma_chan->device->dev, data->sg, sg_len, dir_data);
506+
dma_unmap_sg(dma_chan->device->dev, data->sg, data->sg_len,
507+
dir_data);
507508
return;
508509
}
509510

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -902,7 +902,8 @@ static bool glk_broken_cqhci(struct sdhci_pci_slot *slot)
902902
{
903903
return slot->chip->pdev->device == PCI_DEVICE_ID_INTEL_GLK_EMMC &&
904904
(dmi_match(DMI_BIOS_VENDOR, "LENOVO") ||
905-
dmi_match(DMI_SYS_VENDOR, "IRBIS"));
905+
dmi_match(DMI_SYS_VENDOR, "IRBIS") ||
906+
dmi_match(DMI_SYS_VENDOR, "Positivo Tecnologia SA"));
906907
}
907908

908909
static bool jsl_broken_hs400es(struct sdhci_pci_slot *slot)

drivers/mmc/host/sdhci_am654.c

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,8 @@ static const struct sdhci_ops sdhci_am654_ops = {
613613
static const struct sdhci_pltfm_data sdhci_am654_pdata = {
614614
.ops = &sdhci_am654_ops,
615615
.quirks = SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12,
616-
.quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN,
616+
.quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN |
617+
SDHCI_QUIRK2_DISABLE_HW_TIMEOUT,
617618
};
618619

619620
static const struct sdhci_am654_driver_data sdhci_am654_sr1_drvdata = {
@@ -643,7 +644,8 @@ static const struct sdhci_ops sdhci_j721e_8bit_ops = {
643644
static const struct sdhci_pltfm_data sdhci_j721e_8bit_pdata = {
644645
.ops = &sdhci_j721e_8bit_ops,
645646
.quirks = SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12,
646-
.quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN,
647+
.quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN |
648+
SDHCI_QUIRK2_DISABLE_HW_TIMEOUT,
647649
};
648650

649651
static const struct sdhci_am654_driver_data sdhci_j721e_8bit_drvdata = {
@@ -667,7 +669,8 @@ static const struct sdhci_ops sdhci_j721e_4bit_ops = {
667669
static const struct sdhci_pltfm_data sdhci_j721e_4bit_pdata = {
668670
.ops = &sdhci_j721e_4bit_ops,
669671
.quirks = SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12,
670-
.quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN,
672+
.quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN |
673+
SDHCI_QUIRK2_DISABLE_HW_TIMEOUT,
671674
};
672675

673676
static const struct sdhci_am654_driver_data sdhci_j721e_4bit_drvdata = {

0 commit comments

Comments
 (0)