linux-stable/drivers/firmware/cirrus
Richard Fitzgerald 66626b1563
firmware: cirrus: cs_dsp: Initialize debugfs_root to invalid
Initialize debugfs_root to -ENODEV so that if the client never sets a
valid debugfs root the debugfs files will not be created.

A NULL pointer passed to any of the debugfs_create_*() functions means
"create in the root of debugfs". It doesn't mean "ignore".

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://msgid.link/r/20240307105353.40067-1-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2024-03-07 13:03:54 +00:00
..
cs_dsp.c firmware: cirrus: cs_dsp: Initialize debugfs_root to invalid 2024-03-07 13:03:54 +00:00
Kconfig firmware: cs_dsp: Rename KConfig symbol CS_DSP -> FW_CS_DSP 2022-11-25 11:53:59 +00:00
Makefile firmware: cs_dsp: Rename KConfig symbol CS_DSP -> FW_CS_DSP 2022-11-25 11:53:59 +00:00