OSDN Git Service

drm: rcar-du: Shutdown the display on remove
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 23 Mar 2021 00:09:53 +0000 (02:09 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 28 Jul 2021 13:33:10 +0000 (16:33 +0300)
commit5e7ef0b85c7718c10f6122caf7af9b2e70d53830
tree5409c976ead8ff60a2d8f85d7d7a877b91a216e5
parentc29b6b0b126e9ee69a5d6339475e831a149295bd
drm: rcar-du: Shutdown the display on remove

When the device is unbound from the driver (the DU being a platform
device, this occurs either when removing the DU module, or when
unbinding the device manually through sysfs), the display may be active.
Make sure it gets shut down.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
drivers/gpu/drm/rcar-du/rcar_du_drv.c