Skip to content

Commit 903a72e

Browse files
yong maostorulf
authored andcommitted
mmc: mediatek: Extend recheck_sdio_irq fix to more variants
The SDIO recheck fix is required for more of the supported variants. Let's add it to those that needs it. Reported-by: Fabien Parent <[email protected]> Reported-by: Mattijs Korpershoek <[email protected]> Signed-off-by: Yong Mao <[email protected]> Link: https://lore.kernel.org/r/[email protected] Fixes: 9e2582e ("mmc: mediatek: fix SDIO irq issue") Cc: [email protected] [Ulf: Clarified commitmsg ] Signed-off-by: Ulf Hansson <[email protected]>
1 parent c0a2074 commit 903a72e

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

drivers/mmc/host/mtk-sd.c

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ struct msdc_host {
446446

447447
static const struct mtk_mmc_compatible mt8135_compat = {
448448
.clk_div_bits = 8,
449-
.recheck_sdio_irq = false,
449+
.recheck_sdio_irq = true,
450450
.hs400_tune = false,
451451
.pad_tune_reg = MSDC_PAD_TUNE,
452452
.async_fifo = false,
@@ -485,7 +485,7 @@ static const struct mtk_mmc_compatible mt8183_compat = {
485485

486486
static const struct mtk_mmc_compatible mt2701_compat = {
487487
.clk_div_bits = 12,
488-
.recheck_sdio_irq = false,
488+
.recheck_sdio_irq = true,
489489
.hs400_tune = false,
490490
.pad_tune_reg = MSDC_PAD_TUNE0,
491491
.async_fifo = true,
@@ -511,7 +511,7 @@ static const struct mtk_mmc_compatible mt2712_compat = {
511511

512512
static const struct mtk_mmc_compatible mt7622_compat = {
513513
.clk_div_bits = 12,
514-
.recheck_sdio_irq = false,
514+
.recheck_sdio_irq = true,
515515
.hs400_tune = false,
516516
.pad_tune_reg = MSDC_PAD_TUNE0,
517517
.async_fifo = true,
@@ -524,7 +524,7 @@ static const struct mtk_mmc_compatible mt7622_compat = {
524524

525525
static const struct mtk_mmc_compatible mt8516_compat = {
526526
.clk_div_bits = 12,
527-
.recheck_sdio_irq = false,
527+
.recheck_sdio_irq = true,
528528
.hs400_tune = false,
529529
.pad_tune_reg = MSDC_PAD_TUNE0,
530530
.async_fifo = true,
@@ -535,7 +535,7 @@ static const struct mtk_mmc_compatible mt8516_compat = {
535535

536536
static const struct mtk_mmc_compatible mt7620_compat = {
537537
.clk_div_bits = 8,
538-
.recheck_sdio_irq = false,
538+
.recheck_sdio_irq = true,
539539
.hs400_tune = false,
540540
.pad_tune_reg = MSDC_PAD_TUNE,
541541
.async_fifo = false,
@@ -548,6 +548,7 @@ static const struct mtk_mmc_compatible mt7620_compat = {
548548

549549
static const struct mtk_mmc_compatible mt6779_compat = {
550550
.clk_div_bits = 12,
551+
.recheck_sdio_irq = false,
551552
.hs400_tune = false,
552553
.pad_tune_reg = MSDC_PAD_TUNE0,
553554
.async_fifo = true,

0 commit comments

Comments
 (0)