aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/firmware/cirrus/cs_dsp.h
diff options
context:
space:
mode:
authorRichard Fitzgerald <rf@opensource.cirrus.com>2024-03-07 10:53:53 +0000
committerMark Brown <broonie@kernel.org>2024-03-07 13:03:54 +0000
commit66626b15636b5f5cf3d7f6104799f77462748974 (patch)
tree8828815174ab270680024a5a3b814922098c391a /include/linux/firmware/cirrus/cs_dsp.h
parentASoC: trace: add event to snd_soc_dapm trace events (diff)
downloadwireguard-linux-66626b15636b5f5cf3d7f6104799f77462748974.tar.xz
wireguard-linux-66626b15636b5f5cf3d7f6104799f77462748974.zip
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>
Diffstat (limited to 'include/linux/firmware/cirrus/cs_dsp.h')
0 files changed, 0 insertions, 0 deletions