|
|
@ -403,8 +403,6 @@ int spi_edma_write(int dev_id, const void *buf, int len, void (*notify)(void *ar |
|
|
|
return -1; |
|
|
|
} |
|
|
|
|
|
|
|
spi = &__spi_devs[dev_id]; |
|
|
|
|
|
|
|
return edma_periph_write(MCBSP_getXmtAddr(spi->spi), MCBSP_getXmtEventId(spi->spi), spi->bits, buf, len, notify, args); |
|
|
|
} |
|
|
|
|
|
|
@ -466,8 +464,6 @@ int spi_edma_read(int dev_id, void *buf, int len, void (*on_complete)(void *args |
|
|
|
return -1; |
|
|
|
} |
|
|
|
|
|
|
|
spi = &__spi_devs[dev_id]; |
|
|
|
|
|
|
|
return edma_periph_read(MCBSP_getRcvAddr(spi->spi), MCBSP_getRcvEventId(spi->spi), |
|
|
|
spi->bits, buf, len, on_complete, args); |
|
|
|
} |
|
|
|