OSDN Git Service

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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 6 Jun 2015 15:21:08 +0000 (08:21 -0700)
commit6f12bb6e50e5674eaab76693b44c4407e7bf8e65
treed973f96a520af5aa905fd5ccea4863f0b549c417
parent025c0732d81e9eabb54b6010803100013bd1c08a
drm/radeon/audio: make sure connector is valid in hotplug case

commit fbfd3bc7dfd7efcad2d2e52bf634f84c80a77a35 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/evergreen_hdmi.c