Repeatedly reading register 0x15 to validate the incoming pixel clock causes sporadic read errors which went silently ignored, causing the camera module to fail to start streaming. Fix that by ignoring the read error and while at it rework the error message handling in all functions. v1->v2: - Drop v1 [1/2] - [2/2] new patch. Handle all bus access errors in the call sites Jacopo Mondi (2): media: max9271: Ignore busy loop read errors media: max9271: Fail loud on bus errors in call sites drivers/media/i2c/max9271.c | 116 ++++++++++++++++++++++-------------- 1 file changed, 71 insertions(+), 45 deletions(-) -- 2.33.1