drm/i915: Reorganize intel_lpe_audio_notify() arguments
Shuffle the arguments to intel_lpe_audio_notify() around a bit. Pipe and port being the most important things, so let's put the first, and thre rest can come in as is. Also constify the eld argument. Cc: Takashi Iwai <tiwai@suse.de> Cc: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170427160231.13337-8-ville.syrjala@linux.intel.com Reviewed-by: Takashi Iwai <tiwai@suse.de>
Tento commit je obsažen v:
@@ -632,7 +632,7 @@ void intel_audio_codec_enable(struct intel_encoder *intel_encoder,
|
||||
(int) port, (int) pipe);
|
||||
}
|
||||
|
||||
intel_lpe_audio_notify(dev_priv, connector->eld, port, pipe,
|
||||
intel_lpe_audio_notify(dev_priv, pipe, port, connector->eld,
|
||||
crtc_state->port_clock,
|
||||
intel_encoder->type == INTEL_OUTPUT_DP);
|
||||
}
|
||||
@@ -669,7 +669,7 @@ void intel_audio_codec_disable(struct intel_encoder *intel_encoder)
|
||||
(int) port, (int) pipe);
|
||||
}
|
||||
|
||||
intel_lpe_audio_notify(dev_priv, NULL, port, pipe, 0, false);
|
||||
intel_lpe_audio_notify(dev_priv, pipe, port, NULL, 0, false);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Odkázat v novém úkolu
Zablokovat Uživatele