Re: [PATCH v2] clk:mxs: Fix bug on frequency divider

2015-10-01 Thread Stephen Boyd
On 08/31, Victorien Vedrine wrote: > On drivers/clk/mxs/clk-frac.c, the function clk_frac_round_rate returned a bad > result. The division before multiplication computes a wrong value ; the > calculation is inverted to fix the problem. The second issue is that the exact > rate have decimals and

Re: [PATCH v2] clk:mxs: Fix bug on frequency divider

2015-10-01 Thread Stephen Boyd
On 08/31, Victorien Vedrine wrote: > On drivers/clk/mxs/clk-frac.c, the function clk_frac_round_rate returned a bad > result. The division before multiplication computes a wrong value ; the > calculation is inverted to fix the problem. The second issue is that the exact > rate have decimals and

Re: [PATCH v2] clk:mxs: Fix bug on frequency divider

2015-09-24 Thread Shawn Guo
On Fri, Sep 18, 2015 at 09:21:17AM +0200, Stefan Wahren wrote: > +Shawn's new address > +linux-arm-kernel > > > On drivers/clk/mxs/clk-frac.c, the function clk_frac_round_rate returned a > > bad > > result. The division before multiplication computes a wrong value ; the > > calculation is

Re: [PATCH v2] clk:mxs: Fix bug on frequency divider

2015-09-24 Thread Shawn Guo
On Fri, Sep 18, 2015 at 09:21:17AM +0200, Stefan Wahren wrote: > +Shawn's new address > +linux-arm-kernel > > > On drivers/clk/mxs/clk-frac.c, the function clk_frac_round_rate returned a > > bad > > result. The division before multiplication computes a wrong value ; the > > calculation is

Re: [PATCH v2] clk:mxs: Fix bug on frequency divider

2015-09-18 Thread Stefan Wahren
+Shawn's new address +linux-arm-kernel > On drivers/clk/mxs/clk-frac.c, the function clk_frac_round_rate returned a bad > result. The division before multiplication computes a wrong value ; the > calculation is inverted to fix the problem. The second issue is that the exact > rate have decimals

Re: [PATCH v2] clk:mxs: Fix bug on frequency divider

2015-09-18 Thread Stefan Wahren
+Shawn's new address +linux-arm-kernel > On drivers/clk/mxs/clk-frac.c, the function clk_frac_round_rate returned a bad > result. The division before multiplication computes a wrong value ; the > calculation is inverted to fix the problem. The second issue is that the exact > rate have decimals

Re: [PATCH v2] clk:mxs: Fix bug on frequency divider

2015-09-16 Thread Stefan Wahren
+Fabio +Marek > On drivers/clk/mxs/clk-frac.c, the function clk_frac_round_rate returned a bad > result. The division before multiplication computes a wrong value ; the > calculation is inverted to fix the problem. The second issue is that the exact > rate have decimals and they are truncate. The

Re: [PATCH v2] clk:mxs: Fix bug on frequency divider

2015-09-16 Thread Stefan Wahren
+Fabio +Marek > On drivers/clk/mxs/clk-frac.c, the function clk_frac_round_rate returned a bad > result. The division before multiplication computes a wrong value ; the > calculation is inverted to fix the problem. The second issue is that the exact > rate have decimals and they are truncate. The

[PATCH v2] clk:mxs: Fix bug on frequency divider

2015-08-31 Thread Victorien Vedrine
On drivers/clk/mxs/clk-frac.c, the function clk_frac_round_rate returned a bad result. The division before multiplication computes a wrong value ; the calculation is inverted to fix the problem. The second issue is that the exact rate have decimals and they are truncate. The consequence is that

[PATCH v2] clk:mxs: Fix bug on frequency divider

2015-08-31 Thread Victorien Vedrine
On drivers/clk/mxs/clk-frac.c, the function clk_frac_round_rate returned a bad result. The division before multiplication computes a wrong value ; the calculation is inverted to fix the problem. The second issue is that the exact rate have decimals and they are truncate. The consequence is that