Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 185635
b: refs/heads/master
c: c8792d5
h: refs/heads/master
i:
  185633: 65c63aa
  185631: 238b8c3
v: v3
  • Loading branch information
Rafał Miłecki authored and Dave Airlie committed Mar 1, 2010
1 parent 6a2f6a5 commit 9836204
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 68de7745822f0dc2eea940e3c1fc65896d7afc88
refs/heads/master: c8792d5e6cdfeb7db186f6ea654dee90ca3b9c0c
6 changes: 3 additions & 3 deletions trunk/drivers/gpu/drm/radeon/r600_audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,10 @@ static void r600_audio_engine_enable(struct radeon_device *rdev, bool enable)
*/
int r600_audio_init(struct radeon_device *rdev)
{
if (!r600_audio_chipset_supported(rdev))
if (!radeon_audio || !r600_audio_chipset_supported(rdev))
return 0;

r600_audio_engine_enable(rdev, radeon_audio);
r600_audio_engine_enable(rdev, true);

rdev->audio_channels = -1;
rdev->audio_rate = -1;
Expand Down Expand Up @@ -266,7 +266,7 @@ void r600_audio_set_clock(struct drm_encoder *encoder, int clock)
*/
void r600_audio_fini(struct radeon_device *rdev)
{
if (!r600_audio_chipset_supported(rdev))
if (!radeon_audio || !r600_audio_chipset_supported(rdev))
return;

del_timer(&rdev->audio_timer);
Expand Down

0 comments on commit 9836204

Please sign in to comment.