]> 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)
commit6e9a435b39ef06118adc15944e08bccc42829660
treec0c631e7d65531367c4f050e3fe86f38c4d9695f
parentb966b6d1eab10dc26cdc875db4a51dcc368ab908
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