Re: [PATCH][ASoC]fsl_ssi: fix of_property_read_u32_array return value check

2015-03-04 Thread Mark Brown
On Wed, Mar 04, 2015 at 10:48:30PM +0100, Maciej S. Szmigiero wrote: > of_property_read_u32_array returns 0 on success, > so the return value shouldn't be inverted twice, > first on assignment then in condition expression. > > Signed-off-by: Maciej Szmigiero Applied, thanks. signature.asc Desc

[PATCH][ASoC]fsl_ssi: fix of_property_read_u32_array return value check

2015-03-04 Thread Maciej S. Szmigiero
of_property_read_u32_array returns 0 on success, so the return value shouldn't be inverted twice, first on assignment then in condition expression. Signed-off-by: Maciej Szmigiero --- a/sound/soc/fsl/fsl_ssi.c +++ b/sound/soc/fsl/fsl_ssi.c @@ -1227,7 +1227,7 @@ static int fsl_ssi_imx_probe(struc