Re: [PATCH v2 04/15] drm/i915/audio: Realign some function arguments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 08 Nov 2022, Ville Syrjala <ville.syrjala@xxxxxxxxxxxxxxx> wrote:
> From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>
>
> Fix up some function argument alignment fails.
>
> Cc: Chaitanya Kumar Borah <chaitanya.kumar.borah@xxxxxxxxx>
> Cc: Kai Vehmanen <kai.vehmanen@xxxxxxxxxxxxxxx>
> Cc: Takashi Iwai <tiwai@xxxxxxx>
> Signed-off-by: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>

Reviewed-by: Jani Nikula <jani.nikula@xxxxxxxxx>

> ---
>  drivers/gpu/drm/i915/display/intel_audio.c | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_audio.c b/drivers/gpu/drm/i915/display/intel_audio.c
> index 0ac28d28098f..6b0c2b0522fd 100644
> --- a/drivers/gpu/drm/i915/display/intel_audio.c
> +++ b/drivers/gpu/drm/i915/display/intel_audio.c
> @@ -778,8 +778,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;
> @@ -794,7 +794,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,
> @@ -831,8 +831,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;
> @@ -845,7 +845,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);

-- 
Jani Nikula, Intel Open Source Graphics Center




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux