Minor updates from initial debugging.

This commit is contained in:
Gregory Nutt 2015-03-13 13:46:27 -06:00
parent 0cae7563e8
commit c2049956a4
2 changed files with 3 additions and 3 deletions

View File

@ -1113,7 +1113,7 @@ static inline void sam_cmdsample2(struct sam_dev_s *priv, int index,
* Name: sam_cmddump
*
* Description:
* Dump all comand/response register data
* Dump all command/response register data
*
****************************************************************************/
@ -2620,9 +2620,10 @@ static sdio_eventset_t sam_eventwait(FAR struct sdio_dev_s *dev,
/* Since interrupts not been enabled to this point, any relevant events
* are pending and should not yet have occurred.
* REVISIT: Not true. DMA interrupts are enabled.
*/
DEBUGASSERT(priv->waitevents != 0 && priv->wkupevent == 0);
// DEBUGASSERT(priv->waitevents != 0 && priv->wkupevent == 0);
/* Now enable event-related interrupts. If the events are pending, they
* may happen immediately here before entering the loop.

View File

@ -2102,7 +2102,6 @@ void sam_dmadump(DMA_HANDLE handle, const struct sam_dmaregs_s *regs,
const char *msg)
{
struct sam_xdmach_s *xdmach = (struct sam_xdmach_s *)handle;
struct sam_xdmac_s *xdmac = sam_controller(xdmach);
dmadbg("%s\n", msg);
dmadbg(" DMA Global Registers:\n");