diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2013-11-23 16:31:12 -0500 |
---|---|---|
committer | Santosh Shilimkar <santosh.shilimkar@ti.com> | 2013-12-10 11:08:20 -0500 |
commit | e0c223ec67a98f70770eec85e625015f5af69f10 (patch) | |
tree | de0fd8d079dd75bd719911b9f3fc99b1f04354a6 /Documentation | |
parent | dbb4e67fe7088f963007453ee07e453c4e1fab28 (diff) | |
download | linux-e0c223ec67a98f70770eec85e625015f5af69f10.tar.gz linux-e0c223ec67a98f70770eec85e625015f5af69f10.tar.bz2 linux-e0c223ec67a98f70770eec85e625015f5af69f10.zip |
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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions