]> git.baikalelectronics.ru Git - kernel.git/commit
media: vsp1: Simplify DRM UIF handling
authorKieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Fri, 18 Jun 2021 19:09:05 +0000 (21:09 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 8 Oct 2021 09:26:13 +0000 (11:26 +0200)
commit7f005ca633d3d89422efee04008b8fea08f64969
tree1d65dcf851c6d25c0156dc2e9717afe454bc5ae5
parent4b57d8fdb0555f4aba1c8631a8ebe14a4852e18b
media: vsp1: Simplify DRM UIF handling

In commit a7d624caafce ("media: v4l: vsp1: Fix uif null pointer access")
the handling of the UIF was over complicated, and the patch applied
before review.

Simplify it to keep the conditionals small.

Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/vsp1/vsp1_drm.c