From mboxrd@z Thu Jan 1 00:00:00 1970 From: maxime.ripard@free-electrons.com (Maxime Ripard) Date: Tue, 20 Oct 2015 11:12:53 +0200 Subject: [PATCH resend] net: sun4i-emac: Properly free resources on probe failure and remove In-Reply-To: <1445330544-6968-2-git-send-email-hdegoede@redhat.com> References: <1445330544-6968-1-git-send-email-hdegoede@redhat.com> <1445330544-6968-2-git-send-email-hdegoede@redhat.com> Message-ID: <20151020091253.GB2711@lukather> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue, Oct 20, 2015 at 10:42:24AM +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 Acked-by: Maxime Ripard 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: