drm/drv: Hold ref on parent device during drm_device lifetime
commit 56be6503 upstream. This makes it safe to access drm_device->dev after the parent device has been removed/unplugged. Signed-off-by:Noralf Trønnes <noralf@tronnes.org> Reviewed-by:
Gerd Hoffmann <kraxel@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190225144232.20761-2-noralf@tronnes.org Signed-off-by:
Paul Gortmaker <paul.gortmaker@windriver.com>
Loading
Please register or sign in to comment