diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2012-06-04 23:18:51 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-06-05 10:24:33 +0200 |
commit | d4e30ef05c9e0fad9782de34f0acd039e238fd43 (patch) | |
tree | 4334658cd54687fa850982b1dd01c41f61ed7709 /drivers/gpu/drm/radeon/rs600.c | |
parent | Pull 'for-linus' branches of git://git.kernel.org/pub/scm/linux/kernel/git/vi... (diff) | |
download | linux-d4e30ef05c9e0fad9782de34f0acd039e238fd43.tar.xz linux-d4e30ef05c9e0fad9782de34f0acd039e238fd43.zip |
drm/radeon: make audio_init consistent across asics
Call it in the asic startup callback on all asics.
Previously r600 and rv770 called it in the startup
and resume callbacks while all the other asics called
it in the startup callback.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/rs600.c')
-rw-r--r-- | drivers/gpu/drm/radeon/rs600.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/gpu/drm/radeon/rs600.c b/drivers/gpu/drm/radeon/rs600.c index 25f9eef12c42..e95c5e61d4e2 100644 --- a/drivers/gpu/drm/radeon/rs600.c +++ b/drivers/gpu/drm/radeon/rs600.c @@ -908,12 +908,6 @@ static int rs600_startup(struct radeon_device *rdev) return r; } - r = r600_audio_init(rdev); - if (r) { - dev_err(rdev->dev, "failed initializing audio\n"); - return r; - } - r = radeon_ib_pool_start(rdev); if (r) return r; @@ -922,6 +916,12 @@ static int rs600_startup(struct radeon_device *rdev) if (r) return r; + r = r600_audio_init(rdev); + if (r) { + dev_err(rdev->dev, "failed initializing audio\n"); + return r; + } + return 0; } |