Re: [PATCH 2/5] spi: stm32: fix fifo threshold level in case of short transfer
From: Mark Brown
Date: Fri Aug 07 2020 - 09:28:09 EST
On Fri, Aug 07, 2020 at 03:21:22PM +0200, Alain Volmat wrote:
> + /* data_packet should not exceed transfer length */
> + packet = (half_fifo > xfer_len) ? xfer_len : half_fifo;
Please write normal conditional statements to improve legibility.
Attachment:
signature.asc
Description: PGP signature