Skip to content

Commit 7199e2b

Browse files
jh80chungcjb
authored andcommitted
mmc: sdhci-s3c: add BROKEN_ADMA_ZEROLEN_DESC quirk
Samsung SoCs need to set BROKEN_ADMA_ZEROLEN_DESC. (If ADMA operation is more than 65535, maybe set by zero.) Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Chris Ball <cjb@laptop.org>
1 parent 606a15e commit 7199e2b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎drivers/mmc/host/sdhci-s3c.c‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,9 @@ static int __devinit sdhci_s3c_probe(struct platform_device *pdev)
502502
/* This host supports the Auto CMD12 */
503503
host->quirks |= SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12;
504504

505+
/* Samsung SoCs need BROKEN_ADMA_ZEROLEN_DESC */
506+
host->quirks |= SDHCI_QUIRK_BROKEN_ADMA_ZEROLEN_DESC;
507+
505508
if (pdata->cd_type == S3C_SDHCI_CD_NONE ||
506509
pdata->cd_type == S3C_SDHCI_CD_PERMANENT)
507510
host->quirks |= SDHCI_QUIRK_BROKEN_CARD_DETECTION;

0 commit comments

Comments
 (0)