[PATCH 03/11] media: exynos4-is: Fix nullptr when no CSIS device present

Sylwester Nawrocki s.nawrocki at samsung.com
Wed Jul 8 10:49:44 EDT 2020


On 26.04.2020 04:26, Jonathan Bakker wrote:
> Not all devices use the CSIS device, some may use the FIMC directly in
> which case the CSIS device isn't registered.  This leads to a nullptr
> exception when starting the stream as the CSIS device is always
> referenced.  Instead, if getting the CSIS device fails, try getting the
> FIMC directly to check if we are using the subdev API
> 
> Signed-off-by: Jonathan Bakker <xc-racer2 at live.ca>

Thanks, the change looks good to me.

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



More information about the linux-arm-kernel mailing list