From 23bfadf1f5478083d8458f82e1e472c7b96e13d2 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 11 Jun 2016 22:23:03 +0200 Subject: u-boot: update to 2016.05, add a fix for imx6 from the mailinglist --- package/u-boot/patches/patch-drivers_video_ipu_common_c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/u-boot/patches/patch-drivers_video_ipu_common_c (limited to 'package/u-boot/patches/patch-drivers_video_ipu_common_c') 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; + } -- cgit v1.2.3