Skip to content

Commit 10c8204

Browse files
committed
drm/ssd130x: Call drm_atomic_helper_shutdown() at remove time
Based on grepping through the source code, this driver appears to be missing a call to drm_atomic_helper_shutdown() at remove time. Let's add it. The fact that we should call drm_atomic_helper_shutdown() in the case of OS driver remove comes straight out of the kernel doc "driver instance overview" in drm_drv.c. Suggested-by: Maxime Ripard <mripard@kernel.org> Acked-by: Maxime Ripard <mripard@kernel.org> Signed-off-by: Douglas Anderson <dianders@chromium.org> Link: https://patchwork.freedesktop.org/patch/msgid/20230901163944.RFT.4.I4752a39ad9f8fd08b32c2b78a8a3e40491bfb5eb@changeid
1 parent 013d382 commit 10c8204

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/gpu/drm/solomon/ssd130x.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1245,6 +1245,7 @@ EXPORT_SYMBOL_GPL(ssd130x_probe);
12451245
void ssd130x_remove(struct ssd130x_device *ssd130x)
12461246
{
12471247
drm_dev_unplug(&ssd130x->drm);
1248+
drm_atomic_helper_shutdown(&ssd130x->drm);
12481249
}
12491250
EXPORT_SYMBOL_GPL(ssd130x_remove);
12501251

0 commit comments

Comments
 (0)