]> git.baikalelectronics.ru Git - kernel.git/commit
clk: sunxi: Allow to specify the divider width from the dividers data
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 23 Jul 2013 07:25:56 +0000 (09:25 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 26 Aug 2013 08:48:45 +0000 (10:48 +0200)
commite8798174f3bf626465fa89591a847f1a568d84be
treec0c631e7d65531367c4f050e3fe86f38c4d9695f
parent82d4b4d71e11528ac8036f830818fcab80906b2d
clk: sunxi: Allow to specify the divider width from the dividers data

The divider width used to be hardcoded. Some A31 dividers are no longer
with the hardcoded width, so we need to make it specific to each divider
and set it in the dividers data.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Emilio López <emilio@elopez.com.ar>
drivers/clk/sunxi/clk-sunxi.c