Skip to content

Commit

Permalink
vc4_hdmi_phy: Fix typo in phy_get_cp_current
Browse files Browse the repository at this point in the history
This is stored in a 6-bit register field which causes a WARN
  • Loading branch information
popcornmix committed Apr 7, 2020
1 parent 1e88f87 commit 23f2c6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/vc4/vc4_hdmi_phy.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ static u8 phy_get_cp_current(unsigned long vco_freq)
if (vco_freq < 3700000000ULL)
return 0x1c;

return 0xc8;
return 0x18;
}

static u32 phy_get_rm_offset(unsigned long long vco_freq)
Expand Down

0 comments on commit 23f2c6a

Please sign in to comment.