[PATCH resend] net: sun4i-emac: Properly free resources on probe failure and remove

David Miller davem at davemloft.net
Wed Oct 21 19:48:26 PDT 2015


From: Hans de Goede <hdegoede at redhat.com>
Date: Tue, 20 Oct 2015 10:42:24 +0200

> Fix sun4i-emac not releasing the following resources:
> -iomapped memory not released on probe-failure nor on remove
> -clock not getting disabled on probe-failure nor on remove
> -sram not being released on remove
> 
> And while at it also add error checking to the clk_prepare_enable call
> done on probe.
> 
> Signed-off-by: Hans de Goede <hdegoede at redhat.com>

Applied.



More information about the linux-arm-kernel mailing list