mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
drm/i915/audio: Realign some function arguments
Fix up some function argument alignment fails. Cc: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com> Cc: Kai Vehmanen <kai.vehmanen@linux.intel.com> Cc: Takashi Iwai <tiwai@suse.de> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20221108151839.31567-5-ville.syrjala@linux.intel.com Reviewed-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
parent
734d06d2b2
commit
9718d7b2a7
1 changed files with 6 additions and 6 deletions
|
@ -838,8 +838,8 @@ void intel_audio_codec_enable(struct intel_encoder *encoder,
|
|||
|
||||
if (i915->display.funcs.audio)
|
||||
i915->display.funcs.audio->audio_codec_enable(encoder,
|
||||
crtc_state,
|
||||
conn_state);
|
||||
crtc_state,
|
||||
conn_state);
|
||||
|
||||
mutex_lock(&i915->display.audio.mutex);
|
||||
encoder->audio_connector = connector;
|
||||
|
@ -854,7 +854,7 @@ void intel_audio_codec_enable(struct intel_encoder *encoder,
|
|||
if (!intel_crtc_has_type(crtc_state, INTEL_OUTPUT_DP_MST))
|
||||
pipe = -1;
|
||||
acomp->base.audio_ops->pin_eld_notify(acomp->base.audio_ops->audio_ptr,
|
||||
(int) port, (int) pipe);
|
||||
(int)port, (int)pipe);
|
||||
}
|
||||
|
||||
intel_lpe_audio_notify(i915, pipe, port, connector->eld,
|
||||
|
@ -891,8 +891,8 @@ void intel_audio_codec_disable(struct intel_encoder *encoder,
|
|||
|
||||
if (i915->display.funcs.audio)
|
||||
i915->display.funcs.audio->audio_codec_disable(encoder,
|
||||
old_crtc_state,
|
||||
old_conn_state);
|
||||
old_crtc_state,
|
||||
old_conn_state);
|
||||
|
||||
mutex_lock(&i915->display.audio.mutex);
|
||||
encoder->audio_connector = NULL;
|
||||
|
@ -905,7 +905,7 @@ void intel_audio_codec_disable(struct intel_encoder *encoder,
|
|||
if (!intel_crtc_has_type(old_crtc_state, INTEL_OUTPUT_DP_MST))
|
||||
pipe = -1;
|
||||
acomp->base.audio_ops->pin_eld_notify(acomp->base.audio_ops->audio_ptr,
|
||||
(int) port, (int) pipe);
|
||||
(int)port, (int)pipe);
|
||||
}
|
||||
|
||||
intel_lpe_audio_notify(i915, pipe, port, NULL, 0, false);
|
||||
|
|
Loading…
Reference in a new issue