Skip to content
Commit efe622af authored by Noralf Trønnes's avatar Noralf Trønnes Committed by Paul Gortmaker
Browse files

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: default avatarNoralf Trønnes <noralf@tronnes.org>
Reviewed-by: default avatarGerd Hoffmann <kraxel@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190225144232.20761-2-noralf@tronnes.org


Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent 586fee90
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment