clk: sunxi: improve mux_clk error handling and reporting
authorAndre Przywara <andre.przywara@arm.com>
Tue, 16 Feb 2016 10:46:06 +0000 (10:46 +0000)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 22 Feb 2016 03:44:09 +0000 (19:44 -0800)
commit72360b91164aa35753942e5310ae1e1d16e28611
tree6f6ccfaf324a71b1e91f71ef65f6cd545ac358d0
parent33f60d02605a3a604e56b07a78d80d7d801b2843
clk: sunxi: improve mux_clk error handling and reporting

We now catch and report a failing ioremap, also a failure in the final
step of the clock registration is now handled and reported.
Also warnings are turned into errors.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/clk/sunxi/clk-sunxi.c