Skip to content

Commit

Permalink
drm/radeon: don't setup audio on asics that don't support it
Browse files Browse the repository at this point in the history
commit d73a824 upstream.

bug: https://bugzilla.kernel.org/show_bug.cgi?id=97701

Reported-by: Mikael Pettersson <mikpelinux@gmail.com>
Tested-by: Mikael Pettersson <mikpelinux@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Alex Deucher authored and Greg Kroah-Hartman committed May 17, 2015
1 parent a0db475 commit 88c4cb2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/gpu/drm/radeon/radeon_audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,10 @@ void radeon_audio_detect(struct drm_connector *connector,
return;

rdev = connector->encoder->dev->dev_private;

if (!radeon_audio_chipset_supported(rdev))
return;

radeon_encoder = to_radeon_encoder(connector->encoder);
dig = radeon_encoder->enc_priv;

Expand Down

0 comments on commit 88c4cb2

Please sign in to comment.