Thread (29 messages) 29 messages, 5 authors, 2014-10-08

[PATCH v2 04/15] clk: divider: Make generic for usage elsewhere

From: Srinivas Kandagatla <hidden>
Date: 2014-10-08 15:05:07
Also in: linux-arm-msm, linux-pm, lkml


On 07/10/14 19:26, Stephen Boyd wrote:
On 10/07/2014 10:27 AM, Srinivas Kandagatla wrote:
quoted
Hi Stephen,

Just noticed this regression while testing the patch on Arndale board.

https://bugs.linaro.org/show_bug.cgi?id=740
If you return value it works correctly right?
I think you are right, ..
 From last message from bugs.linaro.org:

"
That seems to be it!

This change:
--- a/drivers/clk/clk-divider.c
+++ b/drivers/clk/clk-divider.c
@@ -366,7 +366,7 @@ int divider_get_val(unsigned long rate, unsigned long
parent

         min_t(unsigned int, value, div_mask(width));

-       return 0;
+       return value;
  }
  EXPORT_SYMBOL_GPL(divider_get_val);

- makes Arndale to boot; rootfs on mmc mounts OK.
"

thanks,
srini
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help