aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-bridge.h
diff options
context:
space:
mode:
authorJonathan Marek <[email protected]>2021-05-13 13:14:00 -0400
committerRob Clark <[email protected]>2021-06-08 11:26:45 -0700
commitce86c239e4d218ae6040bec18e6d19a58edb8b7c (patch)
tree1b6f581ad8cc51331183e88a37f2da19eaa317f6 /include/linux/fpga/fpga-bridge.h
parentb4387eaf3821a4c4241ac3a556e13244eb1fdaa5 (diff)
drm/msm/a6xx: avoid shadow NULL reference in failure path
If a6xx_hw_init() fails before creating the shadow_bo, the a6xx_pm_suspend code referencing it will crash. Change the condition to one that avoids this problem (note: creation of shadow_bo is behind this same condition) Fixes: e8b0b994c3a5 ("drm/msm/a6xx: Clear shadow on suspend") Signed-off-by: Jonathan Marek <[email protected]> Reviewed-by: Akhil P Oommen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions