mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 08:33:17 +02:00
drm/msm/dp: rename second dp_display_enable()'s argument
To follow up recent changes, rename (and change type of) second dp_display_enable()'s argument from generic u32 data to bool force_link_train, which is later passed to dp_ctrl_on_stream(). Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Reviewed-by: Kuogee Hsieh <quic_khsieh@quicinc.com> Patchwork: https://patchwork.freedesktop.org/patch/490102/ Link: https://lore.kernel.org/r/20220617232434.1139950-2-dmitry.baryshkov@linaro.org Signed-off-by: Rob Clark <robdclark@chromium.org>
This commit is contained in:
parent
bce1e40568
commit
786a4f6685
|
|
@ -618,7 +618,7 @@ static int dp_hpd_plug_handle(struct dp_display_private *dp, u32 data)
|
|||
return 0;
|
||||
};
|
||||
|
||||
static int dp_display_enable(struct dp_display_private *dp, u32 data);
|
||||
static int dp_display_enable(struct dp_display_private *dp, bool force_link_train);
|
||||
static int dp_display_disable(struct dp_display_private *dp, u32 data);
|
||||
|
||||
static void dp_display_handle_plugged_change(struct msm_dp *dp_display,
|
||||
|
|
@ -867,7 +867,7 @@ static int dp_display_set_mode(struct msm_dp *dp_display,
|
|||
return 0;
|
||||
}
|
||||
|
||||
static int dp_display_enable(struct dp_display_private *dp, u32 data)
|
||||
static int dp_display_enable(struct dp_display_private *dp, bool force_link_train)
|
||||
{
|
||||
int rc = 0;
|
||||
struct msm_dp *dp_display = &dp->dp_display;
|
||||
|
|
@ -878,7 +878,7 @@ static int dp_display_enable(struct dp_display_private *dp, u32 data)
|
|||
return 0;
|
||||
}
|
||||
|
||||
rc = dp_ctrl_on_stream(dp->ctrl, data);
|
||||
rc = dp_ctrl_on_stream(dp->ctrl, force_link_train);
|
||||
if (!rc)
|
||||
dp_display->power_on = true;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user