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)
commit168c05a3e6ac4f575298abbf9a6eef7c1b024f70
tree1d65dcf851c6d25c0156dc2e9717afe454bc5ae5
parente73396fee2614145e2f77a88cafbfc25183994f8
media: vsp1: Simplify DRM UIF handling

In commit 6732f3139380 ("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