linux/drivers/clk/keystone
Grygorii Strashko e0c223ec67 clk: keystone: gate: fix error handling on init
This patch fixes Keystone gate control clock driver initialization path:
1) clk_register_psc() returns error code and not a pure pointer, hence
its return value need to be checked using IS_ERR(clk) macro.

2) Mapped IO memory isn't unmapped in case of errors, hence fix it.

Cc: Mike Turquette <mturquette@linaro.org
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
2013-12-10 11:08:20 -05:00
..
Makefile clk: keystone: Build Keystone clock drivers 2013-10-07 18:16:37 -07:00
gate.c clk: keystone: gate: fix error handling on init 2013-12-10 11:08:20 -05:00
pll.c clk: keystone: use clkod register bits for postdiv 2013-12-10 11:08:20 -05:00