diff options
author | Stijn Segers <foss@volatilesystems.org> | 2018-04-03 20:25:20 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2018-04-14 14:52:49 +0200 |
commit | a9b6077402730537ef19dd95b3583d6aeb3e3fbd (patch) | |
tree | 7b642983e36bb4d2d08f0549986f962a051447ec /target/linux/brcm2708/patches-4.4/0256-clk-bcm2835-correctly-enable-fractional-clock-suppor.patch | |
parent | 09d95e44fc3d1a9f900b7305b10dc241a12d6f37 (diff) | |
download | mtk-20170518-a9b6077402730537ef19dd95b3583d6aeb3e3fbd.zip mtk-20170518-a9b6077402730537ef19dd95b3583d6aeb3e3fbd.tar.gz mtk-20170518-a9b6077402730537ef19dd95b3583d6aeb3e3fbd.tar.bz2 |
kernel: bump kernel 4.4 to 4.4.126 for 17.01
* Refreshed patches
Compile-tested: ar71xx, ramips/mt7621, x86/64
Run-tested: ar71xx
Signed-off-by: Stijn Segers <foss@volatilesystems.org>
Diffstat (limited to 'target/linux/brcm2708/patches-4.4/0256-clk-bcm2835-correctly-enable-fractional-clock-suppor.patch')
-rw-r--r-- | target/linux/brcm2708/patches-4.4/0256-clk-bcm2835-correctly-enable-fractional-clock-suppor.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/brcm2708/patches-4.4/0256-clk-bcm2835-correctly-enable-fractional-clock-suppor.patch b/target/linux/brcm2708/patches-4.4/0256-clk-bcm2835-correctly-enable-fractional-clock-suppor.patch index 80a4ba8..33578af 100644 --- a/target/linux/brcm2708/patches-4.4/0256-clk-bcm2835-correctly-enable-fractional-clock-suppor.patch +++ b/target/linux/brcm2708/patches-4.4/0256-clk-bcm2835-correctly-enable-fractional-clock-suppor.patch @@ -66,7 +66,7 @@ Reviewed-by: Eric Anholt <eric@anholt.net> }; struct bcm2835_pll { -@@ -1198,7 +1202,7 @@ static u32 bcm2835_clock_choose_div(stru +@@ -1202,7 +1206,7 @@ static u32 bcm2835_clock_choose_div(stru GENMASK(CM_DIV_FRAC_BITS - data->frac_bits, 0) >> 1; u64 temp = (u64)parent_rate << CM_DIV_FRAC_BITS; u64 rem; @@ -75,7 +75,7 @@ Reviewed-by: Eric Anholt <eric@anholt.net> rem = do_div(temp, rate); div = temp; -@@ -1208,11 +1212,23 @@ static u32 bcm2835_clock_choose_div(stru +@@ -1212,11 +1216,23 @@ static u32 bcm2835_clock_choose_div(stru div += unused_frac_mask + 1; div &= ~unused_frac_mask; @@ -104,7 +104,7 @@ Reviewed-by: Eric Anholt <eric@anholt.net> return div; } -@@ -1306,9 +1322,26 @@ static int bcm2835_clock_set_rate(struct +@@ -1310,9 +1326,26 @@ static int bcm2835_clock_set_rate(struct struct bcm2835_cprman *cprman = clock->cprman; const struct bcm2835_clock_data *data = clock->data; u32 div = bcm2835_clock_choose_div(hw, rate, parent_rate, false); |