[PATCH] clk: keystone: gate: fix error handling on init

Santosh Shilimkar santosh.shilimkar at ti.com
Wed Nov 20 09:51:07 EST 2013


On Wednesday 20 November 2013 07:09 AM, Grygorii Strashko wrote:
> 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.
> 
> Signed-off-by: Grygorii Strashko <grygorii.strashko at ti.com>
> ---
Looks good. Thanks !!

Mike, If you are ok can you please consider it for fixes ?

Regards,
Santosh



More information about the linux-arm-kernel mailing list