drm/radeon/audio: make sure connector is valid in hotplug case
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 27 May 2015 15:33:26 +0000 (11:33 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 27 May 2015 17:14:59 +0000 (13:14 -0400)
commitfbfd3bc7dfd7efcad2d2e52bf634f84c80a77a35
tree06fc9dc9ad1b2848b39ca2896a9f37ed8a7fb0af
parent2d1c18bba15daf89d75ce475ecd2068f483aa12f
drm/radeon/audio: make sure connector is valid in hotplug case

Avoids a crash when a monitor is hotplugged and the encoder
and connector are not linked yet.

bug:
https://bugs.freedesktop.org/show_bug.cgi?id=90681

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/evergreen_hdmi.c