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

2015-10-21 Thread David Miller
From: Hans de Goede 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

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

2015-10-20 Thread Hans de Goede
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.

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

2015-10-20 Thread Maxime Ripard
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