]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8c04c65c37a965a5febee19c732dd8365528edaa
tree7604d53da685ea0e8a44e078bb01b714e1a9c728
parent63b36fe29b4e3d204cda8808303ee686cc67bc73
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