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
Makefile -rw-r--r-- 915 bytes
arraymap.c -rw-r--r-- 21.6 KB
bpf_lru_list.c -rw-r--r-- 17.4 KB
bpf_lru_list.h -rw-r--r-- 2.1 KB
btf.c -rw-r--r-- 87.7 KB
cgroup.c -rw-r--r-- 39.6 KB
core.c -rw-r--r-- 54.1 KB
cpumap.c -rw-r--r-- 19.2 KB
devmap.c -rw-r--r-- 20.6 KB
disasm.c -rw-r--r-- 7.4 KB
disasm.h -rw-r--r-- 1.0 KB
hashtab.c -rw-r--r-- 38.0 KB
helpers.c -rw-r--r-- 11.0 KB
inode.c -rw-r--r-- 13.8 KB
local_storage.c -rw-r--r-- 14.2 KB
lpm_trie.c -rw-r--r-- 21.1 KB
map_in_map.c -rw-r--r-- 3.0 KB
map_in_map.h -rw-r--r-- 547 bytes
offload.c -rw-r--r-- 16.3 KB
percpu_freelist.c -rw-r--r-- 2.5 KB
percpu_freelist.h -rw-r--r-- 1.0 KB
queue_stack_maps.c -rw-r--r-- 6.8 KB
reuseport_array.c -rw-r--r-- 8.5 KB
stackmap.c -rw-r--r-- 16.5 KB
syscall.c -rw-r--r-- 68.1 KB
sysfs_btf.c -rw-r--r-- 1.2 KB
tnum.c -rw-r--r-- 4.1 KB
verifier.c -rw-r--r-- 268.5 KB
xskmap.c -rw-r--r-- 6.9 KB

back to top