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
Documentation
arch
.gitignore -rw-r--r-- 42 bytes
Build -rw-r--r-- 623 bytes
Makefile -rw-r--r-- 1.9 KB
arch.h -rw-r--r-- 1.3 KB
builtin-check.c -rw-r--r-- 1.4 KB
builtin-orc.c -rw-r--r-- 1.1 KB
builtin.h -rw-r--r-- 432 bytes
cfi.h -rw-r--r-- 786 bytes
check.c -rw-r--r-- 58.7 KB
check.h -rw-r--r-- 1.7 KB
elf.c -rw-r--r-- 13.7 KB
elf.h -rw-r--r-- 2.4 KB
objtool.c -rw-r--r-- 2.4 KB
orc.h -rw-r--r-- 348 bytes
orc_dump.c -rw-r--r-- 3.7 KB
orc_gen.c -rw-r--r-- 4.2 KB
special.c -rw-r--r-- 4.5 KB
special.h -rw-r--r-- 551 bytes
sync-check.sh -rwxr-xr-x 1.0 KB
warn.h -rw-r--r-- 1.3 KB

back to top