Re: [PATCH] spi: spi-dw: Add lock protect dw_spi rx/tx to prevent concurrent calls

From: Mark Brown
Date: Mon Dec 30 2019 - 19:29:34 EST


On Fri, Dec 27, 2019 at 11:51:09AM +0800, wuxu.wu wrote:

> static void dw_writer(struct dw_spi *dws)
> {
> - u32 max = tx_max(dws);
> + u32 max
> u16 txw = 0;

This is going to break the build, there's a missing ; in the
declaration of max. Otherwise this looks good.

Attachment: signature.asc
Description: PGP signature