OSDN Git Service

drm: mxsfb: Shutdown the display on remove
authorMarek Vasut <marex@denx.de>
Fri, 31 Dec 2021 16:00:56 +0000 (17:00 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 27 Jan 2022 08:26:38 +0000 (09:26 +0100)
commit72f6c03336b8ee8f02086311444f94de99822b42
treeaba04bb9856c03e053f851629c62e69b05e58d06
parent1d61d359c284e027fb086bceee42dbb34f06abb2
drm: mxsfb: Shutdown the display on remove

When the device is unbound from the driver, the display may be active.
Make sure it gets shut down.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Lucas Stach <l.stach@pengutronix.de>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Stefan Agner <stefan@agner.ch>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20211231160056.302276-1-marex@denx.de
drivers/gpu/drm/mxsfb/mxsfb_drv.c