This reverts commit 1d6d6a6a2d8704ae641b4439fad0a2d45ecc8372.

After upgrading u-boot to version 2022.04, this patch is no longer
needed.

Signed-off-by: Meng Li <meng...@windriver.com>
---
 drivers/gpu/drm/bridge/cadence/cdns-mhdp-dp.c | 16 ++++------------
 1 file changed, 4 insertions(+), 12 deletions(-)

diff --git a/drivers/gpu/drm/bridge/cadence/cdns-mhdp-dp.c 
b/drivers/gpu/drm/bridge/cadence/cdns-mhdp-dp.c
index 46fc27dba884..299e533d6b52 100644
--- a/drivers/gpu/drm/bridge/cadence/cdns-mhdp-dp.c
+++ b/drivers/gpu/drm/bridge/cadence/cdns-mhdp-dp.c
@@ -233,21 +233,13 @@ static int cdns_mhdp_get_training_status(struct 
cdns_mhdp_device *mhdp)
        if (ret)
                goto err_get_training_status;
 
-       if (of_machine_is_compatible("fsl,ls1028a-rdb"))
-               ret = cdns_mhdp_mailbox_validate_receive(mhdp, 
MB_MODULE_ID_DP_TX,
-                                                       DPTX_READ_LINK_STAT,
-                                                       sizeof(status) - 3);
-       else
-               ret = cdns_mhdp_mailbox_validate_receive(mhdp, 
MB_MODULE_ID_DP_TX,
-                                                       DPTX_READ_LINK_STAT,
-                                                       sizeof(status));
+       ret = cdns_mhdp_mailbox_validate_receive(mhdp, MB_MODULE_ID_DP_TX,
+                                                DPTX_READ_LINK_STAT,
+                                                sizeof(status));
        if (ret)
                goto err_get_training_status;
 
-       if (of_machine_is_compatible("fsl,ls1028a-rdb"))
-               ret = cdns_mhdp_mailbox_read_receive(mhdp, status, 
sizeof(status) - 3);
-       else
-               ret = cdns_mhdp_mailbox_read_receive(mhdp, status, 
sizeof(status));
+       ret = cdns_mhdp_mailbox_read_receive(mhdp, status, sizeof(status));
        if (ret)
                goto err_get_training_status;
 
-- 
2.40.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#12493): 
https://lists.yoctoproject.org/g/linux-yocto/message/12493
Mute This Topic: https://lists.yoctoproject.org/mt/98820969/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to