Messages in this thread | | | Subject | Re: [PATCH v2 06/11] media: exynos4-is: Use global num_sensors rather than local index | From | Sylwester Nawrocki <> | Date | Fri, 31 Jul 2020 11:44:26 +0200 |
| |
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@live.ca>
Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
| |