On Thu, Feb 07, 2019 at 10:13:38AM +0100, Hans Verkuil wrote:
> drivers/media/platform/pxa_camera.c:2400 pxa_camera_probe() error: we 
> previously assumed 'pcdev->pdata' could be null (see line 2397)
> 
> First check if platform data is provided, then check if DT data is provided,
> and if neither is provided just return with -ENODEV.
> 
> Signed-off-by: Hans Verkuil <hverkuil-ci...@xs4all.nl>

Acked-by: Sakari Ailus <sakari.ai...@linux.intel.com>

-- 
Sakari Ailus
sakari.ai...@linux.intel.com

Reply via email to