Skip to content

Commit b983a8f

Browse files
Slava Grigorevalexdeucher
authored andcommitted
radeon/audio: fix whitespace
Use proper tabs. Signed-off-by: Slava Grigorev <slava.grigorev@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 5c046a5 commit b983a8f

1 file changed

Lines changed: 16 additions & 16 deletions

File tree

‎drivers/gpu/drm/radeon/dce6_afmt.c‎

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -252,40 +252,40 @@ void dce6_audio_enable(struct radeon_device *rdev,
252252
void 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

271271
void 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

291291
void dce6_dp_enable(struct drm_encoder *encoder, bool enable)

0 commit comments

Comments
 (0)