aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mmc/host/usdhi6rol0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/usdhi6rol0.c b/drivers/mmc/host/usdhi6rol0.c
index 4188e84ea450..b505cbc25aac 100644
--- a/drivers/mmc/host/usdhi6rol0.c
+++ b/drivers/mmc/host/usdhi6rol0.c
@@ -1611,7 +1611,7 @@ static irqreturn_t usdhi6_cd(int irq, void *dev_id)
1611 return IRQ_NONE; 1611 return IRQ_NONE;
1612 1612
1613 /* Ack */ 1613 /* Ack */
1614 usdhi6_write(host, USDHI6_SD_INFO1, !status); 1614 usdhi6_write(host, USDHI6_SD_INFO1, ~status);
1615 1615
1616 if (!work_pending(&mmc->detect.work) && 1616 if (!work_pending(&mmc->detect.work) &&
1617 (((status & USDHI6_SD_INFO1_CARD_INSERT) && 1617 (((status & USDHI6_SD_INFO1_CARD_INSERT) &&