]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/rockchip: analogix_dp: Add a sanity check for rockchip_drm_psr_register()
authorJeffy Chen <jeffy.chen@rock-chips.com>
Wed, 10 Jan 2018 16:23:43 +0000 (17:23 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 1 Mar 2018 15:21:08 +0000 (16:21 +0100)
commitc8c045142125e7c054f66241d9f3b3151bb70daf
tree657c4469f1155b01c2c7c31a60bdc6a38d8a5a1c
parent7fe201cd55bb3527c4b7152fc099a3c5fb9054c3
drm/rockchip: analogix_dp: Add a sanity check for rockchip_drm_psr_register()

The rockchip_drm_psr_register() can fail, so add a sanity check for that.

Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Signed-off-by: Thierry Escande <thierry.escande@collabora.com>
[moved psr_unregister reordering in unbind to separate patch]
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20180110162348.22765-4-thierry.escande@collabora.com
drivers/gpu/drm/rockchip/analogix_dp-rockchip.c