mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 17:12:06 +00:00
e0c223ec67
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> |
||
---|---|---|
.. | ||
gate.c | ||
Makefile | ||
pll.c |