aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/microchip-spi.c
diff options
context:
space:
mode:
authorMichael Tretter <[email protected]>2022-10-28 09:52:05 +0000
committerHeiko Stuebner <[email protected]>2022-10-29 12:41:28 +0000
commit471bf2406c043491b1a8288e5f04bc278f7d7ca1 (patch)
treec6876d0472100784eb01c81cc96f134007bd32e3 /drivers/fpga/microchip-spi.c
parentdrm/rockchip: dsi: Fix VOP selection on SoCs that support it (diff)
downloadkernel-471bf2406c043491b1a8288e5f04bc278f7d7ca1.tar.gz
kernel-471bf2406c043491b1a8288e5f04bc278f7d7ca1.zip
drm/rockchip: vop2: fix null pointer in plane_atomic_disable
If the vop2_plane_atomic_disable function is called with NULL as a state, accessing the old_pstate runs into a null pointer exception. However, the drm_atomic_helper_disable_planes_on_crtc function calls the atomic_disable callback with state NULL. Allow to disable a plane without passing a plane state by checking the old_pstate only if a state is passed. Signed-off-by: Michael Tretter <[email protected]> Signed-off-by: Heiko Stuebner <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/fpga/microchip-spi.c')
0 files changed, 0 insertions, 0 deletions