diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2016-06-12 11:49:46 +0200 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2016-06-12 15:51:54 +0200 |
commit | 0aa6c7df60d0d4a4fa01dc1b185df31ffb2c53f6 (patch) | |
tree | 51382c24cd68a4129cf7bdbbedd84b24c70e47b1 /target/linux/brcm2708/patches-4.4/0258-clk-bcm2835-correctly-enable-fractional-clock-suppor.patch | |
parent | 1da87516e584a86d1d056f6b58bfa3050cc875b9 (diff) | |
download | mtk-20170518-0aa6c7df60d0d4a4fa01dc1b185df31ffb2c53f6.zip mtk-20170518-0aa6c7df60d0d4a4fa01dc1b185df31ffb2c53f6.tar.gz mtk-20170518-0aa6c7df60d0d4a4fa01dc1b185df31ffb2c53f6.tar.bz2 |
kernel: update kernel 4.4 to version 4.4.13
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/brcm2708/patches-4.4/0258-clk-bcm2835-correctly-enable-fractional-clock-suppor.patch')
-rw-r--r-- | target/linux/brcm2708/patches-4.4/0258-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/0258-clk-bcm2835-correctly-enable-fractional-clock-suppor.patch b/target/linux/brcm2708/patches-4.4/0258-clk-bcm2835-correctly-enable-fractional-clock-suppor.patch index 8735a9b..73cf8d3 100644 --- a/target/linux/brcm2708/patches-4.4/0258-clk-bcm2835-correctly-enable-fractional-clock-suppor.patch +++ b/target/linux/brcm2708/patches-4.4/0258-clk-bcm2835-correctly-enable-fractional-clock-suppor.patch @@ -67,7 +67,7 @@ Reviewed-by: Eric Anholt <eric@anholt.net> }; struct bcm2835_pll { -@@ -1192,7 +1196,7 @@ static u32 bcm2835_clock_choose_div(stru +@@ -1196,7 +1200,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; @@ -76,7 +76,7 @@ Reviewed-by: Eric Anholt <eric@anholt.net> rem = do_div(temp, rate); div = temp; -@@ -1202,11 +1206,23 @@ static u32 bcm2835_clock_choose_div(stru +@@ -1206,11 +1210,23 @@ static u32 bcm2835_clock_choose_div(stru div += unused_frac_mask + 1; div &= ~unused_frac_mask; @@ -105,7 +105,7 @@ Reviewed-by: Eric Anholt <eric@anholt.net> return div; } -@@ -1300,9 +1316,26 @@ static int bcm2835_clock_set_rate(struct +@@ -1304,9 +1320,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); |