linux/drivers/media/platform/vsp1
Dan Carpenter ba7a93e507 media: v4l2-subdev: fix some NULL vs IS_ERR() checks
The v4l2_subdev_alloc_state() function returns error pointers, it
doesn't return NULL.

Fixes: 0d346d2a6f ("media: v4l2-subdev: add subdev-wide state struct")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-07-22 14:01:54 +02:00
..
Makefile
vsp1_brx.c media: v4l2-subdev: add subdev-wide state struct 2021-06-17 10:01:27 +02:00
vsp1_brx.h
vsp1_clu.c media: v4l2-subdev: add subdev-wide state struct 2021-06-17 10:01:27 +02:00
vsp1_clu.h
vsp1_dl.c
vsp1_dl.h
vsp1_drm.c
vsp1_drm.h
vsp1_drv.c
vsp1_entity.c media: v4l2-subdev: fix some NULL vs IS_ERR() checks 2021-07-22 14:01:54 +02:00
vsp1_entity.h media: v4l2-subdev: add subdev-wide state struct 2021-06-17 10:01:27 +02:00
vsp1_hgo.c
vsp1_hgo.h
vsp1_hgt.c
vsp1_hgt.h
vsp1_histo.c media: v4l2-subdev: add subdev-wide state struct 2021-06-17 10:01:27 +02:00
vsp1_histo.h
vsp1_hsit.c media: v4l2-subdev: add subdev-wide state struct 2021-06-17 10:01:27 +02:00
vsp1_hsit.h
vsp1_lif.c media: v4l2-subdev: add subdev-wide state struct 2021-06-17 10:01:27 +02:00
vsp1_lif.h
vsp1_lut.c media: v4l2-subdev: add subdev-wide state struct 2021-06-17 10:01:27 +02:00
vsp1_lut.h
vsp1_pipe.c
vsp1_pipe.h
vsp1_regs.h
vsp1_rpf.c
vsp1_rwpf.c media: v4l2-subdev: add subdev-wide state struct 2021-06-17 10:01:27 +02:00
vsp1_rwpf.h media: v4l2-subdev: add subdev-wide state struct 2021-06-17 10:01:27 +02:00
vsp1_sru.c media: v4l2-subdev: add subdev-wide state struct 2021-06-17 10:01:27 +02:00
vsp1_sru.h
vsp1_uds.c media: v4l2-subdev: add subdev-wide state struct 2021-06-17 10:01:27 +02:00
vsp1_uds.h
vsp1_uif.c media: v4l2-subdev: add subdev-wide state struct 2021-06-17 10:01:27 +02:00
vsp1_uif.h
vsp1_video.c
vsp1_video.h
vsp1_wpf.c
vsp1.h