]> 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)
commitb2f818a5048ba769ecc6a9ac06a9acb0ba35499f
tree1d65dcf851c6d25c0156dc2e9717afe454bc5ae5
parent1b651b1d631b4351ed6e29b6d9f9de3026a9629f
media: vsp1: Simplify DRM UIF handling

In commit 31476dae563d ("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