Skip to content

Commit 9718d7b

Browse files
committed
drm/i915/audio: Realign some function arguments
Fix up some function argument alignment fails. Cc: Chaitanya Kumar Borah <[email protected]> Cc: Kai Vehmanen <[email protected]> Cc: Takashi Iwai <[email protected]> Signed-off-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Jani Nikula <[email protected]>
1 parent 734d06d commit 9718d7b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

drivers/gpu/drm/i915/display/intel_audio.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -838,8 +838,8 @@ void intel_audio_codec_enable(struct intel_encoder *encoder,
838838

839839
if (i915->display.funcs.audio)
840840
i915->display.funcs.audio->audio_codec_enable(encoder,
841-
crtc_state,
842-
conn_state);
841+
crtc_state,
842+
conn_state);
843843

844844
mutex_lock(&i915->display.audio.mutex);
845845
encoder->audio_connector = connector;
@@ -854,7 +854,7 @@ void intel_audio_codec_enable(struct intel_encoder *encoder,
854854
if (!intel_crtc_has_type(crtc_state, INTEL_OUTPUT_DP_MST))
855855
pipe = -1;
856856
acomp->base.audio_ops->pin_eld_notify(acomp->base.audio_ops->audio_ptr,
857-
(int) port, (int) pipe);
857+
(int)port, (int)pipe);
858858
}
859859

860860
intel_lpe_audio_notify(i915, pipe, port, connector->eld,
@@ -891,8 +891,8 @@ void intel_audio_codec_disable(struct intel_encoder *encoder,
891891

892892
if (i915->display.funcs.audio)
893893
i915->display.funcs.audio->audio_codec_disable(encoder,
894-
old_crtc_state,
895-
old_conn_state);
894+
old_crtc_state,
895+
old_conn_state);
896896

897897
mutex_lock(&i915->display.audio.mutex);
898898
encoder->audio_connector = NULL;
@@ -905,7 +905,7 @@ void intel_audio_codec_disable(struct intel_encoder *encoder,
905905
if (!intel_crtc_has_type(old_crtc_state, INTEL_OUTPUT_DP_MST))
906906
pipe = -1;
907907
acomp->base.audio_ops->pin_eld_notify(acomp->base.audio_ops->audio_ptr,
908-
(int) port, (int) pipe);
908+
(int)port, (int)pipe);
909909
}
910910

911911
intel_lpe_audio_notify(i915, pipe, port, NULL, 0, false);

0 commit comments

Comments
 (0)