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
chips
devices
hyperbus
lpddr
maps
nand
parsers
spi-nor
tests
ubi
Kconfig -rw-r--r-- 7.3 KB
Makefile -rw-r--r-- 924 bytes
ftl.c -rw-r--r-- 30.6 KB
inftlcore.c -rw-r--r-- 23.8 KB
inftlmount.c -rw-r--r-- 21.8 KB
mtd_blkdevs.c -rw-r--r-- 13.5 KB
mtdblock.c -rw-r--r-- 8.5 KB
mtdblock_ro.c -rw-r--r-- 1.8 KB
mtdchar.c -rw-r--r-- 25.0 KB
mtdconcat.c -rw-r--r-- 20.7 KB
mtdcore.c -rw-r--r-- 52.0 KB
mtdcore.h -rw-r--r-- 934 bytes
mtdoops.c -rw-r--r-- 10.7 KB
mtdpart.c -rw-r--r-- 27.8 KB
mtdsuper.c -rw-r--r-- 5.0 KB
mtdswap.c -rw-r--r-- 33.4 KB
nftlcore.c -rw-r--r-- 22.3 KB
nftlmount.c -rw-r--r-- 25.2 KB
rfd_ftl.c -rw-r--r-- 17.6 KB
sm_ftl.c -rw-r--r-- 30.0 KB
sm_ftl.h -rw-r--r-- 2.2 KB
ssfdc.c -rw-r--r-- 11.2 KB

back to top