drm/radeon: only mark audio as connected if the monitor supports it (v3)
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Apr 2015 13:52:42 +0000 (09:52 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Apr 2015 13:54:55 +0000 (09:54 -0400)
commit0f55db36d49d45b80eff0c0a2a498766016f458b
tree7604d53da685ea0e8a44e078bb01b714e1a9c728
parent362ff251390f3d1f8fe94666f4fc4e5876381114
drm/radeon: only mark audio as connected if the monitor supports it (v3)

Otherwise the driver may try and send audio which may confuse the
monitor.

v2: set pin to NULL if no audio
v3: avoid crash with analog encoders

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