Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/rockchip: inno_hdmi: Rename function inno_hdmi_reset to inno_hdmi_init_hw

This function not only configure hardware reset register, but also
do some other configurations. Therefore, it is more appropriate to
name it inno_hdmi_init_hw, which will also facilitate the addition
of other functions to this function in the following patch.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20250512124615.2848731-5-andyshrk@163.com

authored by

Andy Yan and committed by
Heiko Stuebner
55137487 7431c546

+2 -2
+2 -2
drivers/gpu/drm/rockchip/inno_hdmi.c
··· 604 604 inno_hdmi_sys_power(hdmi, true); 605 605 }; 606 606 607 - static void inno_hdmi_reset(struct inno_hdmi *hdmi) 607 + static void inno_hdmi_init_hw(struct inno_hdmi *hdmi) 608 608 { 609 609 u32 val; 610 610 u32 msk; ··· 1290 1290 goto err_disable_clk; 1291 1291 } 1292 1292 1293 - inno_hdmi_reset(hdmi); 1293 + inno_hdmi_init_hw(hdmi); 1294 1294 1295 1295 hdmi->ddc = inno_hdmi_i2c_adapter(hdmi); 1296 1296 if (IS_ERR(hdmi->ddc)) {