Skip to content

Commit 5513748

Browse files
Andy Yanmmind
authored andcommitted
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
1 parent 7431c54 commit 5513748

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/gpu/drm/rockchip/inno_hdmi.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ static void inno_hdmi_power_up(struct inno_hdmi *hdmi,
604604
inno_hdmi_sys_power(hdmi, true);
605605
};
606606

607-
static void inno_hdmi_reset(struct inno_hdmi *hdmi)
607+
static void inno_hdmi_init_hw(struct inno_hdmi *hdmi)
608608
{
609609
u32 val;
610610
u32 msk;
@@ -1290,7 +1290,7 @@ static int inno_hdmi_bind(struct device *dev, struct device *master,
12901290
goto err_disable_clk;
12911291
}
12921292

1293-
inno_hdmi_reset(hdmi);
1293+
inno_hdmi_init_hw(hdmi);
12941294

12951295
hdmi->ddc = inno_hdmi_i2c_adapter(hdmi);
12961296
if (IS_ERR(hdmi->ddc)) {

0 commit comments

Comments
 (0)