]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
committerSeth Forshee <seth.forshee@canonical.com>
Wed, 17 Mar 2021 18:39:50 +0000 (13:39 -0500)
commit30cfcb14c82425a3ba847ed0164a37dc29baff02
tree6c0123ab6dd440b1531dde4631ff67db3b31774c
parent89330faa35069cecb0b6103cfbd85fa610428ff7
media: v4l: vsp1: Fix bru null pointer access

BugLink: https://bugs.launchpad.net/bugs/1919492
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: Seth Forshee <seth.forshee@canonical.com>
drivers/media/platform/vsp1/vsp1_drm.c