Revision 57be09c6e8747bf48704136d9e3f92bfb93f5725 authored by Navid Emamdoost on 02 October 2019, 03:46:07 UTC, committed by Alex Deucher on 02 October 2019, 17:58:33 UTC
In acp_hw_init there are some allocations that needs to be released in
case of failure:

1- adev->acp.acp_genpd should be released if any allocation attemp for
adev->acp.acp_cell, adev->acp.acp_res or i2s_pdata fails.
2- all of those allocations should be released if
mfd_add_hotplug_devices or pm_genpd_add_device fail.
3- Release is needed in case of time out values expire.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 815fb4c
History
File Mode Size
appletalk
arcnet
bonding
caif
can
dsa
ethernet
fddi
fjes
hamradio
hippi
hyperv
ieee802154
ipvlan
netdevsim
phy
plip
ppp
slip
team
usb
vmxnet3
wan
wimax
wireless
xen-netback
Kconfig -rw-r--r-- 17.5 KB
LICENSE.SRC -rw-r--r-- 891 bytes
Makefile -rw-r--r-- 2.2 KB
Space.c -rw-r--r-- 3.7 KB
dummy.c -rw-r--r-- 5.8 KB
eql.c -rw-r--r-- 14.6 KB
geneve.c -rw-r--r-- 48.8 KB
gtp.c -rw-r--r-- 31.2 KB
ifb.c -rw-r--r-- 8.4 KB
loopback.c -rw-r--r-- 7.1 KB
macsec.c -rw-r--r-- 86.4 KB
macvlan.c -rw-r--r-- 44.8 KB
macvtap.c -rw-r--r-- 6.1 KB
mdio.c -rw-r--r-- 17.2 KB
mii.c -rw-r--r-- 18.0 KB
net_failover.c -rw-r--r-- 23.2 KB
netconsole.c -rw-r--r-- 24.1 KB
nlmon.c -rw-r--r-- 3.4 KB
ntb_netdev.c -rw-r--r-- 12.2 KB
rionet.c -rw-r--r-- 18.4 KB
sb1000.c -rw-r--r-- 31.0 KB
sungem_phy.c -rw-r--r-- 29.8 KB
tap.c -rw-r--r-- 30.4 KB
thunderbolt.c -rw-r--r-- 34.5 KB
tun.c -rw-r--r-- 85.8 KB
veth.c -rw-r--r-- 31.6 KB
virtio_net.c -rw-r--r-- 84.8 KB
vrf.c -rw-r--r-- 33.9 KB
vsockmon.c -rw-r--r-- 3.6 KB
vxlan.c -rw-r--r-- 112.5 KB
xen-netfront.c -rw-r--r-- 55.0 KB

back to top