SAMA5: Some improvements to the HSCMI card removal/insertion logic
This commit is contained in:
parent
69bc6afbd3
commit
9cf1365cde
@ -2438,8 +2438,8 @@ static void sam_callback(void *arg)
|
|||||||
{
|
{
|
||||||
/* Yes.. queue it */
|
/* Yes.. queue it */
|
||||||
|
|
||||||
fvdbg("Queuing callback to %p(%p)\n", priv->callback, priv->cbarg);
|
fllvdbg("Queuing callback to %p(%p)\n", priv->callback, priv->cbarg);
|
||||||
(void)work_queue(HPWORK, &priv->cbwork, (worker_t)priv->callback, priv->cbarg, 0);
|
(void)work_queue(LPWORK, &priv->cbwork, (worker_t)priv->callback, priv->cbarg, 0);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -2551,7 +2551,7 @@ void sdio_mediachange(FAR struct sdio_dev_s *dev, bool cardinslot)
|
|||||||
priv->cdstatus &= ~SDIO_STATUS_PRESENT;
|
priv->cdstatus &= ~SDIO_STATUS_PRESENT;
|
||||||
}
|
}
|
||||||
|
|
||||||
fvdbg("cdstatus OLD: %02x NEW: %02x\n", cdstatus, priv->cdstatus);
|
fllvdbg("cdstatus OLD: %02x NEW: %02x\n", cdstatus, priv->cdstatus);
|
||||||
|
|
||||||
/* Perform any requested callback if the status has changed */
|
/* Perform any requested callback if the status has changed */
|
||||||
|
|
||||||
|
@ -2704,8 +2704,8 @@ static void sam_callback(void *arg)
|
|||||||
{
|
{
|
||||||
/* Yes.. queue it */
|
/* Yes.. queue it */
|
||||||
|
|
||||||
fvdbg("Queuing callback to %p(%p)\n", priv->callback, priv->cbarg);
|
fllvdbg("Queuing callback to %p(%p)\n", priv->callback, priv->cbarg);
|
||||||
(void)work_queue(HPWORK, &priv->cbwork, (worker_t)priv->callback, priv->cbarg, 0);
|
(void)work_queue(LPWORK, &priv->cbwork, (worker_t)priv->callback, priv->cbarg, 0);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -2931,7 +2931,7 @@ void sdio_mediachange(FAR struct sdio_dev_s *dev, bool cardinslot)
|
|||||||
priv->cdstatus &= ~SDIO_STATUS_PRESENT;
|
priv->cdstatus &= ~SDIO_STATUS_PRESENT;
|
||||||
}
|
}
|
||||||
|
|
||||||
fvdbg("cdstatus OLD: %02x NEW: %02x\n", cdstatus, priv->cdstatus);
|
fllvdbg("cdstatus OLD: %02x NEW: %02x\n", cdstatus, priv->cdstatus);
|
||||||
|
|
||||||
/* Perform any requested callback if the status has changed */
|
/* Perform any requested callback if the status has changed */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user