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:
parent
cf987238c0
commit
45ed6f657c
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue