lkml.org 
[lkml]   [2020]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 03/11] media: exynos4-is: Fix nullptr when no CSIS device present
From
Date
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@live.ca>

Thanks, the change looks good to me.

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

\
 
 \ /
  Last update: 2020-07-08 16:50    [W:0.076 / U:0.584 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site