drm/radeon/audio: don't hardcode CRTC id
authorRafał Miłecki <zajec5@gmail.com>
Mon, 4 Jun 2012 16:36:58 +0000 (18:36 +0200)
committerDave Airlie <airlied@redhat.com>
Tue, 5 Jun 2012 08:25:01 +0000 (09:25 +0100)
commit0aecb5a4ba1ea4167f31d1790eec027f1e658f2d
tree8e0f2460097a005e3b44a7c8810f633d175836ee
parentd4e30ef05c9e0fad9782de34f0acd039e238fd43
drm/radeon/audio: don't hardcode CRTC id

This is based on info released by AMD, should allow using audio in much
more cases.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r600_audio.c