drm/radeon: Fix WARN_ON if DRM_DP_AUX_CHARDEV is enabled
authorLukas Wunner <lukas@wunner.de>
Thu, 21 Jan 2016 23:10:21 +0000 (15:10 -0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 12 Feb 2016 20:56:06 +0000 (15:56 -0500)
commit477d9f0ea6ef6c1501b32434dc06ce3fbbf9c200
treee4a497445da7b31d88964bfb8f6549d699bf7699
parent549300ceaef76f645c042b0841d59d1b027009cd
drm/radeon: Fix WARN_ON if DRM_DP_AUX_CHARDEV is enabled

Rafael Antognolli's new DRM_DP_AUX_CHARDEV feature causes a WARN_ON
if drm_dp_aux->dev == drm_connector->kdev and drm_dp_aux_unregister()
is called after drm_connector_unregister(). radeon is the only driver
affected by this besides i915. (amdgpu calls drm_dp_aux_unregister()
before drm_connector_unregister().)

Cc: Rafael Antognolli <rafael.antognolli@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_display.c