ASoC: soc-core: fix debugfs_pop_time file permissions
PATCH 1/1 ASoC: soc-core: fix debugfs_pop_time file permissions
I think this is a typo, debugfs_pop_time should not be executable.
Signed-off-by Axel Lin <[email protected]>
--- sound/soc/soc-core.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/soc-core.c +1 -1
@@ -249,7 +249,7 @@ static void soc_init_codec_debugfs(struct snd_soc_codec *codec)printk (KERN_WARNING "ASoC: Failed to create codec register debugfs file\n" ); - codec->debugfs_pop_time =debugfs_create_u32 ("dapm_pop_time" ,0744 , + codec->debugfs_pop_time =debugfs_create_u32 ("dapm_pop_time" ,0644 , codec->debugfs_codec_root, &codec->pop_time);if (!codec->debugfs_pop_time)
Signature · 1 line
1.7.2
Quoted 12 lines · Axel Lin
I think this is a typo,
debugfs_pop_timeshould not be executable.Signed-off-by Axel Lin <[email protected]>--- sound/soc/soc-core.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)sound/soc/soc-core.c +0
-0
sound/soc/soc-core.c static void soc_init_codec_debugfs(struct snd_soc_codec *codec) · line 255
Quoted 8 lines
sound/soc/soc-core.c +1
-1@@ -249,7 +249,7 @@ static void soc_init_codec_debugfs(struct snd_soc_codec *codec)printk (KERN_WARNING "ASoC: Failed to create codec register debugfs file\n" ); - codec->debugfs_pop_time =debugfs_create_u32 ("dapm_pop_time" ,0744 , + codec->debugfs_pop_time =debugfs_create_u32 ("dapm_pop_time" ,0644 , codec->debugfs_codec_root, &codec->pop_time);if (!codec->debugfs_pop_time)
Acked-by Liam Girdwood <[email protected]>
Signature · 3 lines
Freelance Developer, SlimLogic Ltd ASoC and Voltage Regulator Maintainer. http://www.slimlogic.co.uk
Mark Brown
AppliedQuoted 6 lines · Liam Girdwood
Quoted 3 lines · Axel Lin
I think this is a typo,
debugfs_pop_timeshould not be executable.Signed-off-by Axel Lin <[email protected]>Acked-by Liam Girdwood <[email protected]>
Applied, thanks.