diff options
| author | 2023-06-21 22:33:20 +0000 | |
|---|---|---|
| committer | 2023-08-12 23:53:35 +0200 | |
| commit | 5aacd290837828c089a83ac9795c74c4c9e2c923 (patch) | |
| tree | 0cfbfa856b943623c785b90bbfd99b35f358cf98 /scripts/Makefile.thinlto | |
| parent | drm/rockchip: vop: Use cleanup helper directly as destroy funcs (diff) | |
drm/rockchip: vop: Fix call to crtc reset helper
Allocation of crtc_state may fail in vop_crtc_reset, causing an invalid
pointer to be passed to __drm_atomic_helper_crtc_reset.
Fix this by adding a NULL check of crtc_state, similar to other drivers.
Fixes: 01e2eaf40c9d ("drm/rockchip: Convert to using __drm_atomic_helper_crtc_reset() for reset.")
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20230621223311.2239547-4-jonas@kwiboo.se
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
