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-- 2.8 KB
Makefile -rw-r--r-- 823 bytes
README -rw-r--r-- 956 bytes
TODO -rw-r--r-- 96 bytes
bcma_private.h -rw-r--r-- 6.2 KB
core.c -rw-r--r-- 3.6 KB
driver_chipcommon.c -rw-r--r-- 10.3 KB
driver_chipcommon_b.c -rw-r--r-- 1.4 KB
driver_chipcommon_nflash.c -rw-r--r-- 1.1 KB
driver_chipcommon_pflash.c -rw-r--r-- 1.1 KB
driver_chipcommon_pmu.c -rw-r--r-- 19.3 KB
driver_chipcommon_sflash.c -rw-r--r-- 4.2 KB
driver_gmac_cmn.c -rw-r--r-- 265 bytes
driver_gpio.c -rw-r--r-- 5.4 KB
driver_mips.c -rw-r--r-- 9.6 KB
driver_pci.c -rw-r--r-- 8.2 KB
driver_pci_host.c -rw-r--r-- 17.5 KB
driver_pcie2.c -rw-r--r-- 5.6 KB
host_pci.c -rw-r--r-- 9.8 KB
host_soc.c -rw-r--r-- 5.5 KB
main.c -rw-r--r-- 16.0 KB
scan.c -rw-r--r-- 14.0 KB
scan.h -rw-r--r-- 1.7 KB
sprom.c -rw-r--r-- 20.9 KB

README

back to top