arch/arm/cxd56xx: do not clear enabled callback event on card insertion

Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
Petro Karashchenko 2023-01-12 23:26:39 +02:00 committed by Xiang Xiao
parent cf987238c0
commit 45ed6f657c
1 changed files with 0 additions and 5 deletions

View File

@ -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;
}