]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/rockchip: vop: call vop_cfg_done() under reg_lock
authorEmil Velikov <emil.velikov@collabora.com>
Tue, 5 May 2020 15:16:13 +0000 (16:16 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sun, 17 May 2020 15:49:34 +0000 (16:49 +0100)
commit5fa63f0773323b1d028f2da5c94b8f3e38619b69
treeb9c97c6007085edfd37aa63dd2846cbc57ca1974
parenta18dc7401ab5c86de38f64ee6301a6bd3757f017
drm/rockchip: vop: call vop_cfg_done() under reg_lock

The function vop_cfg_done() is a simple VOP_REG_SET(). As such it should
be done under a reg_lock. A quick look through the driver shows that all
other instances (apart from driver init) have the lock. Do the same here

Cc: Sandy Huang <hjc@rock-chips.com>
Cc: Heiko Stübner <heiko@sntech.de>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Sandy Huang <hjc@rock-chips.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200505151613.2932456-1-emil.l.velikov@gmail.com
drivers/gpu/drm/rockchip/rockchip_drm_vop.c