]> git.baikalelectronics.ru Git - kernel.git/commit
drm/exynos: Clear drvdata after component unbind
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 9 Oct 2017 08:44:01 +0000 (10:44 +0200)
committerInki Dae <inki.dae@samsung.com>
Sun, 15 Oct 2017 22:44:49 +0000 (07:44 +0900)
commit0c620e84eeef9948ffff26e95ead99b8789b691f
tree9fd7845c9bc84181250fb24867e62f83949a304f
parentf649ff8b96e5f705ba8a2fd4a818b037decd862e
drm/exynos: Clear drvdata after component unbind

When components are unbound, DRM driver is unregistered and freed,
so clear drvdata to avoid potential use-after-free issue in
suspend/resume paths.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_drv.c