[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c4fd36f4-a241-1279-c62b-823a67c05d88@samsung.com>
Date: Wed, 8 Jul 2020 16:49:44 +0200
From: Sylwester Nawrocki <s.nawrocki@...sung.com>
To: Jonathan Bakker <xc-racer2@...e.ca>, kyungmin.park@...sung.com,
mchehab@...nel.org, kgene@...nel.org, krzk@...nel.org,
linux-media@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-samsung-soc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 03/11] media: exynos4-is: Fix nullptr when no CSIS
device present
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@...e.ca>
Thanks, the change looks good to me.
Reviewed-by: Sylwester Nawrocki <s.nawrocki@...sung.com>
Powered by blists - more mailing lists