Re: [PATCH v3 16/19] media: i2c: rdacm20: Replace goto with a loop

2021-03-20 Thread Laurent Pinchart
Hi Jacopo, Thank you for the patch. On Fri, Mar 19, 2021 at 05:41:45PM +0100, Jacopo Mondi wrote: > During the camera module initialization the image sensor PID is read to > verify it can correctly be identified. The current implementation is > rather confused and uses a loop implemented with a

[PATCH v3 16/19] media: i2c: rdacm20: Replace goto with a loop

2021-03-19 Thread Jacopo Mondi
During the camera module initialization the image sensor PID is read to verify it can correctly be identified. The current implementation is rather confused and uses a loop implemented with a label and a goto. Replace it with a more compact for() loop. No functional changes intended.