Files
linux/drivers/gpu/drm/sun4i
Paul Kocialkowski 26918672fe drm/sun4i: Set device driver data at bind time for use in unbind
[ Upstream commit 02b92adbe3 ]

Our sun4i_drv_unbind gets the drm device using dev_get_drvdata.
However, that driver data is never set in sun4i_drv_bind.

Set it there to avoid getting a NULL pointer at unbind time.

Fixes: 9026e0d122 ("drm: Add Allwinner A10 Display Engine support")
Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190418132727.5128-3-paul.kocialkowski@bootlin.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-15 12:50:00 +09:00
..
2016-05-30 08:28:33 +02:00
2016-09-08 09:31:13 +02:00
2018-05-30 07:50:33 +02:00
2016-04-28 10:30:05 +02:00
2016-09-22 10:13:08 +03:00
2016-09-08 09:31:13 +02:00