Re: [v1 3/3] media: ov8856: Implement sensor module revision identification

From: Andy Shevchenko
Date: Tue Mar 10 2020 - 10:30:19 EST


On Tue, Mar 10, 2020 at 02:46:03PM +0100, Robert Foss wrote:
> Query the sensor for its module revision, and compare it
> to known revisions.
> Currently only the '1B' revision has been added.

Are you sure you send latest version?

I have a déjà vu that I have seen this already and this one doesn't address any
comment given.

...

> + dev_info(&client->dev, "OV8856 revision %x (%s) at address 0x%02x\n",
> + val,

> + val == OV8856_1B_MODULE ? "1B" : "unknown revision",

This is weird. Can you add a bit more general way of showing revision?

> + client->addr);

--
With Best Regards,
Andy Shevchenko