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.

phy/rockchip: inno-hdmi: use correct vco_div_5 macro on rk3328

inno_hdmi_phy_rk3328_clk_set_rate() is using the RK3228 macro
when configuring vco_div_5 on RK3328.

Fix this by using correct vco_div_5 macro for RK3328.

Fixes: 53706a116863 ("phy: add Rockchip Innosilicon hdmi phy")
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Link: https://lore.kernel.org/r/20230615171005.2251032-2-jonas@kwiboo.se
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Jonas Karlman and committed by
Vinod Koul
644c06df ec17373a

+2 -2
+2 -2
drivers/phy/rockchip/phy-rockchip-inno-hdmi.c
··· 790 790 RK3328_PRE_PLL_POWER_DOWN); 791 791 792 792 /* Configure pre-pll */ 793 - inno_update_bits(inno, 0xa0, RK3228_PCLK_VCO_DIV_5_MASK, 794 - RK3228_PCLK_VCO_DIV_5(cfg->vco_div_5_en)); 793 + inno_update_bits(inno, 0xa0, RK3328_PCLK_VCO_DIV_5_MASK, 794 + RK3328_PCLK_VCO_DIV_5(cfg->vco_div_5_en)); 795 795 inno_write(inno, 0xa1, RK3328_PRE_PLL_PRE_DIV(cfg->prediv)); 796 796 797 797 val = RK3328_SPREAD_SPECTRUM_MOD_DISABLE;