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
aoe
drbd
mtip32xx
paride
rsxx
xen-blkback
zram
Kconfig -rw-r--r-- 16.3 KB
Makefile -rw-r--r-- 1.4 KB
amiflop.c -rw-r--r-- 50.0 KB
ataflop.c -rw-r--r-- 54.6 KB
brd.c -rw-r--r-- 12.8 KB
cryptoloop.c -rw-r--r-- 4.3 KB
floppy.c -rw-r--r-- 127.4 KB
loop.c -rw-r--r-- 56.2 KB
loop.h -rw-r--r-- 2.3 KB
nbd.c -rw-r--r-- 59.5 KB
null_blk.h -rw-r--r-- 3.4 KB
null_blk_main.c -rw-r--r-- 43.7 KB
null_blk_zoned.c -rw-r--r-- 3.9 KB
pktcdvd.c -rw-r--r-- 72.4 KB
ps3disk.c -rw-r--r-- 13.5 KB
ps3vram.c -rw-r--r-- 22.1 KB
rbd.c -rw-r--r-- 184.3 KB
rbd_types.h -rw-r--r-- 2.5 KB
skd_main.c -rw-r--r-- 93.1 KB
skd_s1120.h -rw-r--r-- 9.3 KB
sunvdc.c -rw-r--r-- 28.7 KB
swim.c -rw-r--r-- 20.2 KB
swim3.c -rw-r--r-- 31.3 KB
swim_asm.S -rw-r--r-- 4.4 KB
sx8.c -rw-r--r-- 37.2 KB
umem.c -rw-r--r-- 29.8 KB
umem.h -rw-r--r-- 3.6 KB
virtio_blk.c -rw-r--r-- 27.0 KB
xen-blkfront.c -rw-r--r-- 73.6 KB
xsysace.c -rw-r--r-- 33.4 KB
z2ram.c -rw-r--r-- 9.5 KB

back to top