Fix the shutdown callback of a drm component device

A patchset in state Mainline for linux-kernel

From: Heiko Stuebner <heiko@...> Date: Fri, 21 Feb 2025 00:35:52 +0100

Probe deferral can cause the platform-data we access to be freed already causing ugly splats on system shutdown. Fix this via a small component-helper and adapting the rockchip-drm shutdown handler. Heiko Stuebner (2): drivers: base: component: add function to query the bound status drm/rockchip: Fix shutdown when no drm-device is set up drivers/base/component.c | 14 ++++++++++++++ drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 6 ++++-- include/linux/component.h | 4 +++- 3 files changed, 21 insertions(+), 3 deletions(-) -- 2.47.2

Patches in this set

Statistics

  • 2 individual patches
  • 21 lines added
  • 3 lines removed
 

Recent Patches

About Us

Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer.

Read More...