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

From: Sylwester Nawrocki
Date: Wed Jul 08 2020 - 10:49:49 EST


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@xxxxxxx>

Thanks, the change looks good to me.

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