drm/radeon: switch audio handling to use callbacks
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Apr 2013 15:32:16 +0000 (11:32 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 23 Apr 2013 22:03:53 +0000 (18:03 -0400)
commita973bea11c91bf8283cc13eb17d3ef7086f679d6
tree8f406b2083834344788d539c0b8c9498c64da544
parentb1f6f47e3e33c4a74534f1301aca241ffabbb3a0
drm/radeon: switch audio handling to use callbacks

Register audio callbacks for asic where we support
audio.  Cleans up the code and makes it easier to
add support for newer asics.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/atombios_encoders.c
drivers/gpu/drm/radeon/evergreen_hdmi.c
drivers/gpu/drm/radeon/r600_hdmi.c
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_asic.c
drivers/gpu/drm/radeon/radeon_asic.h