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-cisco@xxxxxxxxx> Acked-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx> -- Sakari Ailus sakari.ailus@xxxxxxxxxxxxxxx