Home
last modified time | relevance | path

Searched hist:"66626 b15636b5f5cf3d7f6104799f77462748974" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/firmware/cirrus/
H A Dcs_dsp.cdiff 66626b15636b5f5cf3d7f6104799f77462748974 Thu Mar 07 11:53:53 CET 2024 Richard Fitzgerald <rf@opensource.cirrus.com> 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>