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
Kconfig -rw-r--r-- 12.8 KB
Makefile -rw-r--r-- 948 bytes
Transition-notes -rw-r--r-- 6.5 KB
aten.c -rw-r--r-- 3.3 KB
bpck.c -rw-r--r-- 9.3 KB
bpck6.c -rw-r--r-- 6.3 KB
comm.c -rw-r--r-- 4.8 KB
dstr.c -rw-r--r-- 5.0 KB
epat.c -rw-r--r-- 7.0 KB
epia.c -rw-r--r-- 7.9 KB
fit2.c -rw-r--r-- 3.2 KB
fit3.c -rw-r--r-- 4.4 KB
friq.c -rw-r--r-- 6.2 KB
frpw.c -rw-r--r-- 7.3 KB
kbic.c -rw-r--r-- 6.8 KB
ktti.c -rw-r--r-- 2.7 KB
mkd -rw-r--r-- 811 bytes
on20.c -rw-r--r-- 3.0 KB
on26.c -rw-r--r-- 7.4 KB
paride.c -rw-r--r-- 9.4 KB
paride.h -rw-r--r-- 5.0 KB
pcd.c -rw-r--r-- 26.0 KB
pd.c -rw-r--r-- 25.6 KB
pf.c -rw-r--r-- 25.9 KB
pg.c -rw-r--r-- 16.7 KB
ppc6lnx.c -rw-r--r-- 14.3 KB
pseudo.h -rw-r--r-- 2.4 KB
pt.c -rw-r--r-- 23.4 KB

back to top