diff options
| author | 2026-05-21 13:25:10 +0100 | |
|---|---|---|
| committer | 2026-05-21 15:13:49 +0100 | |
| commit | ba28a07a9a0b53a538c809e04e517e1ce1f1bee3 (patch) | |
| tree | c2063b754d505dcb5c0cce5c69023e378dec74d5 /include/linux/amba/ssh:/git@git.zx2c4.com | |
| parent | ASoC: cs-amp-lib: Fix wrong sizeof() in _cs_amp_set_efi_calibration_data() (diff) | |
ASoC: cs-amp-lib: Fix missing dput() after debugfs_lookup()
Rewrite cs_amp_create_debugfs() so that dput() will be called on
a valid dentry returned from debugfs_lookup().
The pointer returned from debugfs_lookup() must be released by dput().
The pointer returned from debugfs_create_dir() does not need to be
passed to dput().
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Fixes: cdd27fa3298a ("ASoC: cs-amp-lib: Add helpers for factory calibration")
Link: https://patch.msgid.link/20260521122511.987322-3-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/amba/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
