linux/drivers/staging/greybus
Zhang Qilong 3952659a61 staging: greybus: codecs: Fix reference counter leak in error handling
gb_pm_runtime_get_sync has increased the usage counter of the device here.
Forgetting to call gb_pm_runtime_put_noidle will result in usage counter
leak in the error branch of (gbcodec_hw_params and gbcodec_prepare). We
fixed it by adding it.

Fixes: c388ae7696 ("greybus: audio: Update pm runtime support in dai_ops callback")
Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Link: https://lore.kernel.org/r/20201109131347.1725288-2-zhangqilong3@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-11-13 15:34:07 +01:00
..
Documentation
tools
arche_platform.h
arche-apb-ctrl.c
arche-platform.c
audio_apbridgea.c
audio_apbridgea.h
audio_codec.c staging: greybus: codecs: Fix reference counter leak in error handling 2020-11-13 15:34:07 +01:00
audio_codec.h staging: greybus: audio: Resolve compilation errors for GB codec module 2020-07-29 16:40:09 +02:00
audio_gb.c
audio_helper.c staging: greybus: audio: Uninitialized variable in gbaudio_remove_controls() 2020-08-18 16:12:53 +02:00
audio_helper.h staging: greybus: audio: Add helper APIs for dynamic audio modules 2020-07-29 16:40:09 +02:00
audio_manager_module.c staging: greybus: audio: code indentation and formatting changes 2020-10-26 06:53:10 +01:00
audio_manager_private.h
audio_manager_sysfs.c
audio_manager.c
audio_manager.h
audio_module.c staging: greybus: fix warnings about endianness detected by sparse 2020-10-05 14:23:55 +02:00
audio_topology.c staging: greybus: use __force when assigning __u8 value to snd_ctl_elem_type_t 2020-10-05 14:23:55 +02:00
authentication.c
bootrom.c
camera.c
firmware.h
fw-core.c
fw-download.c
fw-management.c
gb-camera.h
gbphy.c
gbphy.h staging: greybus: Add identifier name to function definition argument 2020-08-18 16:07:17 +02:00
gpio.c staging: greybus: gpio: Use irqchip template 2020-07-28 10:05:33 +02:00
greybus_authentication.h
greybus_firmware.h
hid.c
i2c.c
Kconfig staging: greybus: audio: Enable GB codec, audio module compilation. 2020-07-29 16:40:26 +02:00
light.c
log.c
loopback.c
Makefile staging: greybus: audio: Enable GB codec, audio module compilation. 2020-07-29 16:40:26 +02:00
power_supply.c
pwm.c
raw.c
sdio.c mmc: host: Drop redundant MMC_CAP_ERASE 2020-05-28 11:22:14 +02:00
spi.c
spilib.c
spilib.h
TODO
uart.c
usb.c
vibrator.c