]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
ASoC: soc-core: fix debugfs_pop_time file permissions
authorAxel Lin <axel.lin@gmail.com>
Fri, 27 Aug 2010 02:34:27 +0000 (10:34 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 27 Aug 2010 18:58:40 +0000 (19:58 +0100)
I think this is a typo, debugfs_pop_time should not be executable.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Liam Girdwood <lrg@slimloogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-core.c

index 844ae8221a3af65be95dcd848f925b26651a0640..acc91daa1c5509df6a7844f684a0640ff7198109 100644 (file)
@@ -251,7 +251,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)