]> 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)
commitf9c5fd1ad551d6648e96af8e7d66bfa471c92d73
tree7604d53da685ea0e8a44e078bb01b714e1a9c728
parentb38a851dd8b90d99ac8e3190a9e5a72df33ba43e
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