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
Makefile -rw-r--r-- 1.1 KB
lock_events.c -rw-r--r-- 4.3 KB
lock_events.h -rw-r--r-- 1.7 KB
lock_events_list.h -rw-r--r-- 3.2 KB
lockdep.c -rw-r--r-- 134.2 KB
lockdep_internals.h -rw-r--r-- 6.6 KB
lockdep_proc.c -rw-r--r-- 17.0 KB
lockdep_states.h -rw-r--r-- 207 bytes
locktorture.c -rw-r--r-- 27.8 KB
mcs_spinlock.h -rw-r--r-- 3.7 KB
mutex-debug.c -rw-r--r-- 2.7 KB
mutex-debug.h -rw-r--r-- 1.1 KB
mutex.c -rw-r--r-- 37.5 KB
mutex.h -rw-r--r-- 841 bytes
osq_lock.c -rw-r--r-- 5.6 KB
percpu-rwsem.c -rw-r--r-- 5.2 KB
qrwlock.c -rw-r--r-- 2.3 KB
qspinlock.c -rw-r--r-- 16.4 KB
qspinlock_paravirt.h -rw-r--r-- 16.0 KB
qspinlock_stat.h -rw-r--r-- 3.0 KB
rtmutex-debug.c -rw-r--r-- 4.6 KB
rtmutex-debug.h -rw-r--r-- 1.4 KB
rtmutex.c -rw-r--r-- 51.0 KB
rtmutex.h -rw-r--r-- 1.2 KB
rtmutex_common.h -rw-r--r-- 4.2 KB
rwsem.c -rw-r--r-- 47.0 KB
rwsem.h -rw-r--r-- 253 bytes
semaphore.c -rw-r--r-- 7.2 KB
spinlock.c -rw-r--r-- 9.6 KB
spinlock_debug.c -rw-r--r-- 5.6 KB
test-ww_mutex.c -rw-r--r-- 12.3 KB

back to top