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

Sylwester Nawrocki s.nawrocki at samsung.com
Fri Jul 31 05:44:26 EDT 2020


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 at live.ca>

Reviewed-by: Sylwester Nawrocki <s.nawrocki at samsung.com>



More information about the linux-arm-kernel mailing list