Re: [PATCH v2 06/11] media: exynos4-is: Use global num_sensors rather than local index

From: Sylwester Nawrocki
Date: Fri Jul 31 2020 - 05:44:33 EST


On 31.07.2020 01:01, Jonathan Bakker wrote:
> Instead of keeping a local copy of how many sensors we've probed
> (which may not even properly represent the number of sensors
> probed if we have a port without a sensor), use the global
> num_sensors counter that has the actual number used.
>
> This will also make it easier to add support for multiple sensors
> being connected to the same port.
>
> Signed-off-by: Jonathan Bakker <xc-racer2@xxxxxxx>

Reviewed-by: Sylwester Nawrocki <s.nawrocki@xxxxxxxxxxx>