diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2016-06-11 22:23:03 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2016-06-11 22:23:38 +0200 |
commit | 23bfadf1f5478083d8458f82e1e472c7b96e13d2 (patch) | |
tree | aa9233cfd4aec4d80d868cdd77818c6c3665d66f /package/u-boot/patches/patch-drivers_video_ipu_common_c | |
parent | 7b83166922499dae5802eb93a5dc723e3e386664 (diff) |
u-boot: update to 2016.05, add a fix for imx6 from the mailinglist
Diffstat (limited to 'package/u-boot/patches/patch-drivers_video_ipu_common_c')
-rw-r--r-- | package/u-boot/patches/patch-drivers_video_ipu_common_c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/u-boot/patches/patch-drivers_video_ipu_common_c b/package/u-boot/patches/patch-drivers_video_ipu_common_c new file mode 100644 index 000000000..003ef3c2d --- /dev/null +++ b/package/u-boot/patches/patch-drivers_video_ipu_common_c @@ -0,0 +1,11 @@ +--- u-boot-2016.05.orig/drivers/video/ipu_common.c 2016-05-16 16:40:32.000000000 +0200 ++++ u-boot-2016.05/drivers/video/ipu_common.c 2016-06-11 22:10:53.808259263 +0200 +@@ -352,7 +352,7 @@ static int ipu_pixel_clk_set_rate(struct + */ + __raw_writel((div / 16) << 16, DI_BS_CLKGEN1(clk->id)); + +- clk->rate = (u64)(clk->parent->rate * 16) / div; ++ clk->rate = (u64)lldiv(clk->parent->rate * 16, div); + + return 0; + } |