[PATCH] net: sun4i-emac: Properly free resources on probe failure and remove
Maxime Ripard
maxime.ripard at free-electrons.com
Thu Sep 24 01:46:59 PDT 2015
On Wed, Sep 23, 2015 at 11:39:16AM +0200, Hans de Goede wrote:
> 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>
Acked-by: Maxime Ripard <maxime.ripard at free-electrons.com>
Thanks!
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150924/33153924/attachment-0001.sig>
More information about the linux-arm-kernel
mailing list