Make some spacing comply better with coding standard
This commit is contained in:
parent
fc3ed64864
commit
d0d62668e7
@ -2063,6 +2063,7 @@ static void c5471_eimconfig(struct c5471_driver_s *c5471)
|
||||
putreg32(0, pbuf);
|
||||
pbuf += sizeof(uint32_t); /* Ether Module's "Buffer Usage Word" */
|
||||
}
|
||||
|
||||
ndbg("END desc: %08x pbuf: %08x\n", desc, pbuf);
|
||||
|
||||
/* Save the descriptor packet size */
|
||||
|
@ -1211,7 +1211,6 @@ static inline void up_waittxready(void)
|
||||
|
||||
for (tmp = 1000 ; tmp > 0 ; tmp--)
|
||||
{
|
||||
|
||||
/* Loop until TXFULL is zero -- meaning that there is space available
|
||||
* in the TX FIFO.
|
||||
*/
|
||||
|
@ -1463,7 +1463,7 @@ static void kinetis_frequency(FAR struct sdio_dev_s *dev, uint32_t frequency)
|
||||
prescaler = 128;
|
||||
}
|
||||
else /* if (frequency >= (BOARD_CORECLK_FREQ / 256) &&
|
||||
frequency <= (BOARD_CORECLK_FREQ / 256 / 16)) */
|
||||
* frequency <= (BOARD_CORECLK_FREQ / 256 / 16)) */
|
||||
{
|
||||
sdclkfs = SDHC_SYSCTL_SDCLKFS_DIV256;
|
||||
prescaler = 256;
|
||||
@ -1792,13 +1792,15 @@ static int kinetis_sendcmd(FAR struct sdio_dev_s *dev, uint32_t cmd, uint32_t ar
|
||||
break;
|
||||
|
||||
case MMCSD_R1B_RESPONSE: /* Response length 48, check busy & cmdindex */
|
||||
regval |= (SDHC_XFERTYP_RSPTYP_LEN48BSY|SDHC_XFERTYP_CICEN|SDHC_XFERTYP_CCCEN);
|
||||
regval |= (SDHC_XFERTYP_RSPTYP_LEN48BSY | SDHC_XFERTYP_CICEN |
|
||||
SDHC_XFERTYP_CCCEN);
|
||||
break;
|
||||
|
||||
case MMCSD_R1_RESPONSE: /* Response length 48, check cmdindex */
|
||||
case MMCSD_R5_RESPONSE:
|
||||
case MMCSD_R6_RESPONSE:
|
||||
regval |= (SDHC_XFERTYP_RSPTYP_LEN48|SDHC_XFERTYP_CICEN|SDHC_XFERTYP_CCCEN);
|
||||
regval |= (SDHC_XFERTYP_RSPTYP_LEN48 | SDHC_XFERTYP_CICEN |
|
||||
SDHC_XFERTYP_CCCEN);
|
||||
break;
|
||||
|
||||
case MMCSD_R2_RESPONSE: /* Response length 136, check CRC */
|
||||
|
Loading…
Reference in New Issue
Block a user