[PATCH] spi: rockchip: Signal unfinished DMA transfers

Mark Brown broonie at kernel.org
Wed Jun 8 03:55:38 PDT 2016


On Wed, Jun 08, 2016 at 09:32:51AM +0200, Tomeu Vizoso wrote:

> +		/* successful DMA prepare means the transfer is in progress */
> +		ret = ret ? ret : 1;

Please write normal if statements so people can read the code more
easily.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-rockchip/attachments/20160608/ce7a508a/attachment-0001.sig>


More information about the Linux-rockchip mailing list