]> www.infradead.org Git - nvme.git/commit
drm/rockchip: dw_hdmi_qp: Fix io init for dw_hdmi_qp_rockchip_resume
authorAndy Yan <andy.yan@rock-chips.com>
Mon, 17 Mar 2025 10:27:53 +0000 (18:27 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 10 Apr 2025 08:51:06 +0000 (10:51 +0200)
commit1d34597a1e23004c7dd0ab5f58ba1ef95fd9ded5
tree0079cb8f969e30bc3e28f59612a13497e93649e3
parent210db264cf87da8908c395b44170f04469009035
drm/rockchip: dw_hdmi_qp: Fix io init for dw_hdmi_qp_rockchip_resume

Use cfg->ctrl_ops->io_init callback make it work for all platform.
And it's also gets rid of code duplication

Fixes: 3f60dbd40d3f ("drm/rockchip: dw_hdmi_qp: Add platform ctrl callback")
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20250317102757.565679-1-andyshrk@163.com
drivers/gpu/drm/rockchip/dw_hdmi_qp-rockchip.c