[PATCH] clk: clk-divider: fix divisor > 255 bug

2013-12-16 Thread James Hogan
Commit 6d9252bd9a4bb (clk: Add support for power of two type dividers) merged in v3.6 added the _get_val function to convert a divisor value to a register field value depending on the flags. However it used the type u8 for the div field, causing divisors larger than 255 to be masked and the resulta

Re: [PATCH] clk: clk-divider: fix divisor > 255 bug

2014-01-06 Thread James Hogan
On 03/01/14 04:15, Mike Turquette wrote: > Quoting James Hogan (2013-12-16 02:41:38) >> Commit 6d9252bd9a4bb (clk: Add support for power of two type dividers) >> merged in v3.6 added the _get_val function to convert a divisor value to >> a register field value depending on the flags. However it use

Patch "clk: clk-divider: fix divisor > 255 bug" has been added to the 3.10-stable tree

2014-01-13 Thread gregkh
This is a note to let you know that I've just added the patch titled clk: clk-divider: fix divisor > 255 bug to the 3.10-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: clk-clk-divider

Patch "clk: clk-divider: fix divisor > 255 bug" has been added to the 3.12-stable tree

2014-01-13 Thread gregkh
This is a note to let you know that I've just added the patch titled clk: clk-divider: fix divisor > 255 bug to the 3.12-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: clk-clk-divider