]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/msm/dp: fix typo in dp_display_handle_port_status_changed()
authorAbhinav Kumar <quic_abhinavk@quicinc.com>
Wed, 6 Mar 2024 19:35:15 +0000 (11:35 -0800)
committerAbhinav Kumar <quic_abhinavk@quicinc.com>
Tue, 2 Apr 2024 02:28:20 +0000 (19:28 -0700)
Fix the typo in the name of dp_display_handle_port_status_changed().

Fixes: c58eb1b54fee ("drm/msm/dp: fix connect/disconnect handled at irq_hpd")
Signed-off-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/581746/
Link: https://lore.kernel.org/r/20240306193515.455388-1-quic_abhinavk@quicinc.com
drivers/gpu/drm/msm/dp/dp_display.c

index 2ed40bd0acb604bac6e831736fee671f5f238efe..9575d4b80c295785fb1f89f3bcfab086749a1e67 100644 (file)
@@ -468,7 +468,7 @@ static void dp_display_handle_video_request(struct dp_display_private *dp)
        }
 }
 
-static int dp_display_handle_port_ststus_changed(struct dp_display_private *dp)
+static int dp_display_handle_port_status_changed(struct dp_display_private *dp)
 {
        int rc = 0;
 
@@ -525,7 +525,7 @@ static int dp_display_usbpd_attention_cb(struct device *dev)
                drm_dbg_dp(dp->drm_dev, "hpd_state=%d sink_request=%d\n",
                                        dp->hpd_state, sink_request);
                if (sink_request & DS_PORT_STATUS_CHANGED)
-                       rc = dp_display_handle_port_ststus_changed(dp);
+                       rc = dp_display_handle_port_status_changed(dp);
                else
                        rc = dp_display_handle_irq_hpd(dp);
        }