SAM EMAC: Fix typo in the check for successfull allocation of a timer
This commit is contained in:
parent
2134d0df43
commit
2d51315e66
@ -3063,7 +3063,7 @@ void up_netinitialize(void)
|
||||
}
|
||||
|
||||
priv->txtimeout = wd_create(); /* Create TX timeout timer */
|
||||
if (!priv->txpoll)
|
||||
if (!priv->txtimeout)
|
||||
{
|
||||
nlldbg("ERROR: Failed to create periodic poll timer\n");
|
||||
goto errout_with_txpoll;
|
||||
|
@ -3111,7 +3111,7 @@ int sam_emac_initialize(void)
|
||||
}
|
||||
|
||||
priv->txtimeout = wd_create(); /* Create TX timeout timer */
|
||||
if (!priv->txpoll)
|
||||
if (!priv->txtimeout)
|
||||
{
|
||||
ndbg("ERROR: Failed to create periodic poll timer\n");
|
||||
ret = -EAGAIN;
|
||||
|
@ -3810,7 +3810,7 @@ int sam_emac_initialize(int intf)
|
||||
}
|
||||
|
||||
priv->txtimeout = wd_create(); /* Create TX timeout timer */
|
||||
if (!priv->txpoll)
|
||||
if (!priv->txtimeout)
|
||||
{
|
||||
ndbg("ERROR: Failed to create periodic poll timer\n");
|
||||
ret = -EAGAIN;
|
||||
|
@ -3183,7 +3183,7 @@ int sam_gmac_initialize(void)
|
||||
}
|
||||
|
||||
priv->txtimeout = wd_create(); /* Create TX timeout timer */
|
||||
if (!priv->txpoll)
|
||||
if (!priv->txtimeout)
|
||||
{
|
||||
nlldbg("ERROR: Failed to create periodic poll timer\n");
|
||||
ret = -EAGAIN;
|
||||
|
@ -864,7 +864,7 @@ SAMA4D44-MB RevC PIO Usage
|
||||
------------------------------ ------------------- -------------------------
|
||||
PA0/LCDDAT0/TMS PA0 LCDDAT0, TMS
|
||||
PA1/LCDDAT1 PA1 LCDDAT1
|
||||
PA2/LCDDAT2/G1_TXCK PA LCDDAT2, G1_TXCK
|
||||
PA2/LCDDAT2/G1_TXCK PA2 LCDDAT2, G1_TXCK
|
||||
PA3/LCDDAT3/G1_RXCK PA3 LCDDAT3
|
||||
PA4/LCDDAT4/G1_TXEN PA4 LCDDAT4, G1_TXEN
|
||||
PA5/LCDDAT5/G1_TXER PA5 LCDDAT5
|
||||
|
Loading…
Reference in New Issue
Block a user