From: Kevin Hao <kexin....@windriver.com>

The audio_pdev has been moved from struct cdn_dp_device to
struct cdns_mhdp_device by SDK commit 33c5a61621c2 ("drm: bridge:
mhdp: Add cdns mhdp driver bridge driver"), fix a missed incorrect
reference to it.

Signed-off-by: Kevin Hao <kexin....@windriver.com>
---
 drivers/gpu/drm/rockchip/cdn-dp-core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/rockchip/cdn-dp-core.c 
b/drivers/gpu/drm/rockchip/cdn-dp-core.c
index 22c810de464d..439623eb0909 100644
--- a/drivers/gpu/drm/rockchip/cdn-dp-core.c
+++ b/drivers/gpu/drm/rockchip/cdn-dp-core.c
@@ -1250,7 +1250,7 @@ static int cdn_dp_probe(struct platform_device *pdev)
        return 0;
 
 err_audio_deinit:
-       platform_device_unregister(dp->audio_pdev);
+       platform_device_unregister(dp->mhdp.audio_pdev);
        return ret;
 }
 

-- 
2.45.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13916): 
https://lists.yoctoproject.org/g/linux-yocto/message/13916
Mute This Topic: https://lists.yoctoproject.org/mt/105978738/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