linux/drivers/staging/greybus
Greg Kroah-Hartman d517cdeb90 staging: greybus: audio_helper: remove unused and wrong debugfs usage
In the greybus audio_helper code, the debugfs file for the dapm has the
potential to be removed and memory will be leaked.  There is also the
very real potential for this code to remove ALL debugfs entries from the
system, and it seems like this is what will really happen if this code
ever runs.  This all is very wrong as the greybus audio driver did not
create this debugfs file, the sound core did and controls the lifespan
of it.

So remove all of the debugfs logic from the audio_helper code as there's
no way it could be correct.  If this really is needed, it can come back
with a fixup for the incorrect usage of the debugfs_lookup() call which
is what caused this to be noticed at all.

Cc: Johan Hovold <johan@kernel.org>
Cc: Alex Elder <elder@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: stable <stable@kernel.org>
Link: https://lore.kernel.org/r/20220902143715.320500-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-09-09 09:53:26 +02:00
..
Documentation
tools staging: greybus: tools: fix spelling 2022-04-26 11:30:06 +02:00
arche_platform.h
arche-apb-ctrl.c staging: greybus: correct typo in comment 2022-04-13 08:49:48 +02:00
arche-platform.c staging: greybus: correct typo in comment 2022-05-05 23:19:14 +02:00
audio_apbridgea.c
audio_apbridgea.h
audio_codec.c Staging driver updates for 5.19-rc1 2022-06-03 10:44:43 -07:00
audio_codec.h
audio_gb.c
audio_helper.c staging: greybus: audio_helper: remove unused and wrong debugfs usage 2022-09-09 09:53:26 +02:00
audio_helper.h
audio_manager_module.c staging: greybus: auto_manager: use default_groups in kobj_type 2021-12-30 11:54:26 +01:00
audio_manager_private.h
audio_manager_sysfs.c
audio_manager.c
audio_manager.h
audio_module.c
audio_topology.c staging: greybus: audio: Check null pointer 2022-01-06 14:46:11 +01:00
authentication.c
bootrom.c
camera.c
firmware.h
fw-core.c
fw-download.c
fw-management.c staging: greybus: Fix indentation in fw-management.c 2022-06-06 07:56:25 +02:00
gb-camera.h
gbphy.c bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
gbphy.h
gpio.c staging: greybus: gpio: Use generic_handle_irq_safe(). 2022-03-02 22:28:51 +01:00
greybus_authentication.h
greybus_firmware.h
hid.c
i2c.c
Kconfig
light.c
log.c
loopback.c staging: greybus: loopback: fix a spelling error. 2022-06-07 13:04:42 +02:00
Makefile
power_supply.c
pwm.c staging: greybus: pwm: Drop assignment to struct pwm_chip::base 2022-04-12 15:49:20 +02:00
raw.c
sdio.c staging: greybus: Remove redundant 'flush_workqueue()' calls 2022-02-15 17:05:56 +01:00
spi.c
spilib.c staging: greybus: spi: add blank line after variable declaration 2021-05-20 11:40:36 +02:00
spilib.h
TODO
uart.c staging: greybus: uart: fix tty use after free 2021-09-14 09:18:18 +02:00
usb.c
vibrator.c