[PATCH v2 5/6] i2c: i2c-stm32f7: Add DMA support

Wolfram Sang wsa at the-dreams.de
Tue Apr 3 08:39:25 PDT 2018


> +#define STM32F7_I2C_DMA_LEN_MIN			0x1
...

> +	if (i2c_dev->dma && f7_msg->count >= STM32F7_I2C_DMA_LEN_MIN) {

Are you using DMA for every message with a length >= 1? The setup of
that might be more expensive than the DMA gain, if so.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20180403/ac57ea74/attachment.sig>


More information about the linux-arm-kernel mailing list