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
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 6.1 KB |
Makefile | -rw-r--r-- | 1.2 KB |
devres.c | -rw-r--r-- | 7.3 KB |
extcon-adc-jack.c | -rw-r--r-- | 5.3 KB |
extcon-arizona.c | -rw-r--r-- | 45.0 KB |
extcon-axp288.c | -rw-r--r-- | 12.6 KB |
extcon-fsa9480.c | -rw-r--r-- | 10.1 KB |
extcon-gpio.c | -rw-r--r-- | 4.5 KB |
extcon-intel-cht-wc.c | -rw-r--r-- | 12.6 KB |
extcon-intel-int3496.c | -rw-r--r-- | 4.9 KB |
extcon-intel-mrfld.c | -rw-r--r-- | 6.8 KB |
extcon-intel.h | -rw-r--r-- | 384 bytes |
extcon-max14577.c | -rw-r--r-- | 21.3 KB |
extcon-max3355.c | -rw-r--r-- | 3.5 KB |
extcon-max77693.c | -rw-r--r-- | 36.5 KB |
extcon-max77843.c | -rw-r--r-- | 26.3 KB |
extcon-max8997.c | -rw-r--r-- | 20.2 KB |
extcon-palmas.c | -rw-r--r-- | 13.2 KB |
extcon-ptn5150.c | -rw-r--r-- | 8.3 KB |
extcon-qcom-spmi-misc.c | -rw-r--r-- | 3.9 KB |
extcon-rt8973a.c | -rw-r--r-- | 18.8 KB |
extcon-rt8973a.h | -rw-r--r-- | 7.9 KB |
extcon-sm5502.c | -rw-r--r-- | 18.9 KB |
extcon-sm5502.h | -rw-r--r-- | 10.6 KB |
extcon-usb-gpio.c | -rw-r--r-- | 7.5 KB |
extcon-usbc-cros-ec.c | -rw-r--r-- | 14.1 KB |
extcon.c | -rw-r--r-- | 35.5 KB |
extcon.h | -rw-r--r-- | 2.5 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...