Re: [PATCH v2 04/18] media: i2c: rdacm20: Replace goto with a loop

2021-03-15 Thread Kieran Bingham
Hi Jacopo, On 15/03/2021 13:14, 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 label and a goto. > > Replace it with a more co

[PATCH v2 04/18] media: i2c: rdacm20: Replace goto with a loop

2021-03-15 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. Reviewed-by