@@ -252,40 +252,40 @@ void dce6_audio_enable(struct radeon_device *rdev,
252252void dce6_hdmi_audio_set_dto (struct radeon_device * rdev ,
253253 struct radeon_crtc * crtc , unsigned int clock )
254254{
255- /* Two dtos; generally use dto0 for HDMI */
255+ /* Two dtos; generally use dto0 for HDMI */
256256 u32 value = 0 ;
257257
258- if (crtc )
258+ if (crtc )
259259 value |= DCCG_AUDIO_DTO0_SOURCE_SEL (crtc -> crtc_id );
260260
261261 WREG32 (DCCG_AUDIO_DTO_SOURCE , value );
262262
263- /* Express [24MHz / target pixel clock] as an exact rational
264- * number (coefficient of two integer numbers. DCCG_AUDIO_DTOx_PHASE
265- * is the numerator, DCCG_AUDIO_DTOx_MODULE is the denominator
266- */
267- WREG32 (DCCG_AUDIO_DTO0_PHASE , 24000 );
268- WREG32 (DCCG_AUDIO_DTO0_MODULE , clock );
263+ /* Express [24MHz / target pixel clock] as an exact rational
264+ * number (coefficient of two integer numbers. DCCG_AUDIO_DTOx_PHASE
265+ * is the numerator, DCCG_AUDIO_DTOx_MODULE is the denominator
266+ */
267+ WREG32 (DCCG_AUDIO_DTO0_PHASE , 24000 );
268+ WREG32 (DCCG_AUDIO_DTO0_MODULE , clock );
269269}
270270
271271void dce6_dp_audio_set_dto (struct radeon_device * rdev ,
272272 struct radeon_crtc * crtc , unsigned int clock )
273273{
274- /* Two dtos; generally use dto1 for DP */
274+ /* Two dtos; generally use dto1 for DP */
275275 u32 value = 0 ;
276276 value |= DCCG_AUDIO_DTO_SEL ;
277277
278- if (crtc )
278+ if (crtc )
279279 value |= DCCG_AUDIO_DTO0_SOURCE_SEL (crtc -> crtc_id );
280280
281281 WREG32 (DCCG_AUDIO_DTO_SOURCE , value );
282282
283- /* Express [24MHz / target pixel clock] as an exact rational
284- * number (coefficient of two integer numbers. DCCG_AUDIO_DTOx_PHASE
285- * is the numerator, DCCG_AUDIO_DTOx_MODULE is the denominator
286- */
287- WREG32 (DCCG_AUDIO_DTO1_PHASE , 24000 );
288- WREG32 (DCCG_AUDIO_DTO1_MODULE , clock );
283+ /* Express [24MHz / target pixel clock] as an exact rational
284+ * number (coefficient of two integer numbers. DCCG_AUDIO_DTOx_PHASE
285+ * is the numerator, DCCG_AUDIO_DTOx_MODULE is the denominator
286+ */
287+ WREG32 (DCCG_AUDIO_DTO1_PHASE , 24000 );
288+ WREG32 (DCCG_AUDIO_DTO1_MODULE , clock );
289289}
290290
291291void dce6_dp_enable (struct drm_encoder * encoder , bool enable )
0 commit comments