bcm27xx: update patches from RPi foundation
[openwrt/staging/luka.git] / target / linux / bcm27xx / patches-5.4 / 950-0706-vc4_hdmi_phy-Fix-typo-in-phy_get_cp_current.patch
1 From 6dc415bb238d7c515f40305248d03234be88cadf Mon Sep 17 00:00:00 2001
2 From: popcornmix <popcornmix@gmail.com>
3 Date: Mon, 6 Apr 2020 17:07:31 +0100
4 Subject: [PATCH] vc4_hdmi_phy: Fix typo in phy_get_cp_current
5
6 This is stored in a 6-bit register field which causes a WARN
7
8 Signed-off-by: popcornmix <popcornmix@gmail.com>
9 ---
10 drivers/gpu/drm/vc4/vc4_hdmi_phy.c | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13 --- a/drivers/gpu/drm/vc4/vc4_hdmi_phy.c
14 +++ b/drivers/gpu/drm/vc4/vc4_hdmi_phy.c
15 @@ -182,7 +182,7 @@ static u8 phy_get_cp_current(unsigned lo
16 if (vco_freq < 3700000000ULL)
17 return 0x1c;
18
19 - return 0xc8;
20 + return 0x18;
21 }
22
23 static u32 phy_get_rm_offset(unsigned long long vco_freq)