Re: [PATCH 1/2] ASoC: ak4458: rstn_control - return a non-zero on error only
From: Mark Brown
Date: Sun May 12 2019 - 13:07:31 EST
On Thu, May 09, 2019 at 01:30:36PM +0000, Viorel Suman wrote:
> - return ret;
> + /* Return a negative error code only. */
> + return (ret < 0 ? ret : 0);
Please write normal conditional statements to help people who have to
read the code.
Attachment:
signature.asc
Description: PGP signature