Skip to content

Commit 3371328

Browse files
gugulotmichalsimek
authored andcommitted
phy: xilinx-xhdmiphy: Fix bug in xhdmiphy_rpll_param function
Calculation of RPLL params fails in FRL mode. Fix the typo causing this. Signed-off-by: Rajesh Gugulothu <rajesh.gugulothu@amd.com> Reviewed-by: Vishal Sagar <vishal.sagar@amd.com>
1 parent e0409a6 commit 3371328

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/phy/xilinx/xhdmiphy_modules.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,7 @@ static u32 xhdmiphy_rpll_param(struct xhdmiphy_dev *inst, enum chid chid,
865865
/* Pre-calculation */
866866
if (dir == XHDMIPHY_DIR_RX) {
867867
refclk_ptr = &inst->rx_refclk_hz;
868-
is_hdmi21 = inst->tx_hdmi21_cfg.is_en;
868+
is_hdmi21 = inst->rx_hdmi21_cfg.is_en;
869869
tmdsclk_ratio = inst->rx_tmdsclock_ratio;
870870

871871
/* calculate line rate */

0 commit comments

Comments
 (0)