]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
media: v4l: vsp1: Fix bru null pointer access
authorBiju Das <biju.das.jz@bp.renesas.com>
Mon, 1 Mar 2021 12:08:27 +0000 (13:08 +0100)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Apr 2021 16:31:55 +0000 (18:31 +0200)
commitf192111699d317b79f3b869e0510be31eaa291d6
tree2802043fe654d5b05ce4b907bc0cb528c184c84c
parent4add921de95a36ac5860add513ddaf5c76dacde0
media: v4l: vsp1: Fix bru null pointer access

BugLink: https://bugs.launchpad.net/bugs/1920246
commit ac8d82f586c8692b501cb974604a71ef0e22a04c upstream.

RZ/G2L SoC has only BRS. This patch fixes null pointer access,when only
BRS is enabled.

Fixes: cbb7fa49c7466("media: v4l: vsp1: Rename BRU to BRx")
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
drivers/media/platform/vsp1/vsp1_drm.c