]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/gpu/drm/radeon/dce6_afmt.c
drm/radeon: cleaned up VCO output settings for DP audio
[karo-tx-linux.git] / drivers / gpu / drm / radeon / dce6_afmt.c
index 6bfc46369db1b4f8daa02fba453a382e863a3585..ea4e3fc2744f101237830842c34b951f4a1efa7c 100644 (file)
@@ -315,7 +315,7 @@ void dce6_dp_audio_set_dto(struct radeon_device *rdev,
                        div = 0;
 
                if (div)
-                       clock = rdev->clock.gpupll_outputfreq * 10 / div;
+                       clock /= div;
 
                WREG32(DCE8_DCCG_AUDIO_DTO1_PHASE, 24000);
                WREG32(DCE8_DCCG_AUDIO_DTO1_MODULE, clock);