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

From: Wolfram Sang
Date: Tue Apr 03 2018 - 11:39:34 EST



> +#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.

Attachment: signature.asc
Description: PGP signature