From: Quanyang Wang <[email protected]>

The mainline zynqmp_dp driver use "dp" as the first parameter of
zynqmp_dp_write but the SDK driver use "dp->iomem". Let's correct
it to avoid unpredictable error.

Signed-off-by: Quanyang Wang <[email protected]>
---
 drivers/gpu/drm/xlnx/zynqmp_dp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xlnx/zynqmp_dp.c b/drivers/gpu/drm/xlnx/zynqmp_dp.c
index 09fdb48cd03a..484dd54bdaea 100644
--- a/drivers/gpu/drm/xlnx/zynqmp_dp.c
+++ b/drivers/gpu/drm/xlnx/zynqmp_dp.c
@@ -905,7 +905,7 @@ static int zynqmp_dp_train(struct zynqmp_dp *dp)
        if (ret < 0)
                return ret;
 
-       zynqmp_dp_write(dp, ZYNQMP_DP_TX_SCRAMBLING_DISABLE, 1);
+       zynqmp_dp_write(dp->iomem, ZYNQMP_DP_TX_SCRAMBLING_DISABLE, 1);
        memset(dp->train_set, 0, sizeof(dp->train_set));
        ret = zynqmp_dp_link_train_cr(dp);
        if (ret)
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9934): 
https://lists.yoctoproject.org/g/linux-yocto/message/9934
Mute This Topic: https://lists.yoctoproject.org/mt/83276069/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to