[PATCH] clk: samsung: fix cpu clock's flags checking

Krzysztof Kozlowski k.kozlowski at samsung.com
Mon Jun 29 17:06:51 PDT 2015


On 30.06.2015 02:29, Bartlomiej Zolnierkiewicz wrote:
> CLK_CPU_HAS_DIV1 and CLK_CPU_NEEDS_DEBUG_ALT_DIV masks were
> incorrectly used as a bit numbers.  Fix it.
> 
> Tested on Exynos4210 based Origen board and on Exynos5250 based
> Arndale board.
> 
> Cc: Tomasz Figa <tomasz.figa at gmail.com>
> Cc: Michael Turquette <mturquette at baylibre.com>
> Cc: Javier Martinez Canillas <javier.martinez at collabora.co.uk>
> Cc: Thomas Abraham <thomas.ab at samsung.com>
> Reported-by: Dan Carpenter <dan.carpenter at oracle.com>
> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie at samsung.com>
> ---
>  drivers/clk/samsung/clk-cpu.c | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)

Reviewed-by: Krzysztof Kozlowski <k.kozlowski at samsung.com>

Best regards,
Krzysztof




More information about the linux-arm-kernel mailing list