From 45ed6f657cac767382f966b6f8e18f7d5a372385 Mon Sep 17 00:00:00 2001 From: Petro Karashchenko Date: Thu, 12 Jan 2023 23:26:39 +0200 Subject: [PATCH] arch/arm/cxd56xx: do not clear enabled callback event on card insertion Signed-off-by: Petro Karashchenko --- arch/arm/src/cxd56xx/cxd56_sdhci.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/arm/src/cxd56xx/cxd56_sdhci.c b/arch/arm/src/cxd56xx/cxd56_sdhci.c index 65b4fe5e85..c59574cc27 100644 --- a/arch/arm/src/cxd56xx/cxd56_sdhci.c +++ b/arch/arm/src/cxd56xx/cxd56_sdhci.c @@ -3360,11 +3360,6 @@ void cxd56_sdhci_mediachange(struct sdio_dev_s *dev) if (cdstatus != priv->cdstatus) { - if (priv->cdstatus & SDIO_STATUS_PRESENT) - { - priv->cbevents &= SDIOMEDIA_INSERTED; - } - mediachange = 1; }