OpenCloudOS-Kernel/drivers/net/ethernet/arc
Christophe JAILLET 00777fac28 net: ethernet: arc: Fix a potential memory leak if an optional regulator is deferred
If the optional regulator is deferred, we must release some resources.
They will be re-allocated when the probe function will be called again.

Fixes: 6eacf31139 ("ethernet: arc: Add support for Rockchip SoC layer device tree bindings")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-03-20 12:06:23 -04:00
..
Kconfig net: arc_emac: add dependencies on associated arches and compile test 2016-11-29 18:57:36 -05:00
Makefile ethernet: arc: Add support for Rockchip SoC layer device tree bindings 2014-09-09 17:29:59 -07:00
emac.h net: arc_emac: restart stalled EMAC 2017-12-19 13:25:52 -05:00
emac_arc.c net: arc: Fix module autoload for OF platform driver 2015-09-21 16:08:20 -07:00
emac_main.c net: arc_emac: restart stalled EMAC 2017-12-19 13:25:52 -05:00
emac_mdio.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
emac_rockchip.c net: ethernet: arc: Fix a potential memory leak if an optional regulator is deferred 2018-03-20 12:06:23 -04:00