aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/cs46xx/dsp_spos.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/cs46xx/dsp_spos.c')
-rw-r--r--sound/pci/cs46xx/dsp_spos.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sound/pci/cs46xx/dsp_spos.c b/sound/pci/cs46xx/dsp_spos.c
index aa61615288ff..c44eadef64ae 100644
--- a/sound/pci/cs46xx/dsp_spos.c
+++ b/sound/pci/cs46xx/dsp_spos.c
@@ -798,7 +798,7 @@ int cs46xx_dsp_proc_init (struct snd_card *card, struct snd_cs46xx *chip)
798 798
799 if ((entry = snd_info_create_card_entry(card, "dsp", card->proc_root)) != NULL) { 799 if ((entry = snd_info_create_card_entry(card, "dsp", card->proc_root)) != NULL) {
800 entry->content = SNDRV_INFO_CONTENT_TEXT; 800 entry->content = SNDRV_INFO_CONTENT_TEXT;
801 entry->mode = S_IFDIR | S_IRUGO | S_IXUGO; 801 entry->mode = S_IFDIR | 0555;
802 802
803 if (snd_info_register(entry) < 0) { 803 if (snd_info_register(entry) < 0) {
804 snd_info_free_entry(entry); 804 snd_info_free_entry(entry);
@@ -814,7 +814,7 @@ int cs46xx_dsp_proc_init (struct snd_card *card, struct snd_cs46xx *chip)
814 if ((entry = snd_info_create_card_entry(card, "spos_symbols", ins->proc_dsp_dir)) != NULL) { 814 if ((entry = snd_info_create_card_entry(card, "spos_symbols", ins->proc_dsp_dir)) != NULL) {
815 entry->content = SNDRV_INFO_CONTENT_TEXT; 815 entry->content = SNDRV_INFO_CONTENT_TEXT;
816 entry->private_data = chip; 816 entry->private_data = chip;
817 entry->mode = S_IFREG | S_IRUGO | S_IWUSR; 817 entry->mode = S_IFREG | 0644;
818 entry->c.text.read = cs46xx_dsp_proc_symbol_table_read; 818 entry->c.text.read = cs46xx_dsp_proc_symbol_table_read;
819 if (snd_info_register(entry) < 0) { 819 if (snd_info_register(entry) < 0) {
820 snd_info_free_entry(entry); 820 snd_info_free_entry(entry);
@@ -826,7 +826,7 @@ int cs46xx_dsp_proc_init (struct snd_card *card, struct snd_cs46xx *chip)
826 if ((entry = snd_info_create_card_entry(card, "spos_modules", ins->proc_dsp_dir)) != NULL) { 826 if ((entry = snd_info_create_card_entry(card, "spos_modules", ins->proc_dsp_dir)) != NULL) {
827 entry->content = SNDRV_INFO_CONTENT_TEXT; 827 entry->content = SNDRV_INFO_CONTENT_TEXT;
828 entry->private_data = chip; 828 entry->private_data = chip;
829 entry->mode = S_IFREG | S_IRUGO | S_IWUSR; 829 entry->mode = S_IFREG | 0644;
830 entry->c.text.read = cs46xx_dsp_proc_modules_read; 830 entry->c.text.read = cs46xx_dsp_proc_modules_read;
831 if (snd_info_register(entry) < 0) { 831 if (snd_info_register(entry) < 0) {
832 snd_info_free_entry(entry); 832 snd_info_free_entry(entry);
@@ -838,7 +838,7 @@ int cs46xx_dsp_proc_init (struct snd_card *card, struct snd_cs46xx *chip)
838 if ((entry = snd_info_create_card_entry(card, "parameter", ins->proc_dsp_dir)) != NULL) { 838 if ((entry = snd_info_create_card_entry(card, "parameter", ins->proc_dsp_dir)) != NULL) {
839 entry->content = SNDRV_INFO_CONTENT_TEXT; 839 entry->content = SNDRV_INFO_CONTENT_TEXT;
840 entry->private_data = chip; 840 entry->private_data = chip;
841 entry->mode = S_IFREG | S_IRUGO | S_IWUSR; 841 entry->mode = S_IFREG | 0644;
842 entry->c.text.read = cs46xx_dsp_proc_parameter_dump_read; 842 entry->c.text.read = cs46xx_dsp_proc_parameter_dump_read;
843 if (snd_info_register(entry) < 0) { 843 if (snd_info_register(entry) < 0) {
844 snd_info_free_entry(entry); 844 snd_info_free_entry(entry);
@@ -850,7 +850,7 @@ int cs46xx_dsp_proc_init (struct snd_card *card, struct snd_cs46xx *chip)
850 if ((entry = snd_info_create_card_entry(card, "sample", ins->proc_dsp_dir)) != NULL) { 850 if ((entry = snd_info_create_card_entry(card, "sample", ins->proc_dsp_dir)) != NULL) {
851 entry->content = SNDRV_INFO_CONTENT_TEXT; 851 entry->content = SNDRV_INFO_CONTENT_TEXT;
852 entry->private_data = chip; 852 entry->private_data = chip;
853 entry->mode = S_IFREG | S_IRUGO | S_IWUSR; 853 entry->mode = S_IFREG | 0644;
854 entry->c.text.read = cs46xx_dsp_proc_sample_dump_read; 854 entry->c.text.read = cs46xx_dsp_proc_sample_dump_read;
855 if (snd_info_register(entry) < 0) { 855 if (snd_info_register(entry) < 0) {
856 snd_info_free_entry(entry); 856 snd_info_free_entry(entry);
@@ -862,7 +862,7 @@ int cs46xx_dsp_proc_init (struct snd_card *card, struct snd_cs46xx *chip)
862 if ((entry = snd_info_create_card_entry(card, "task_tree", ins->proc_dsp_dir)) != NULL) { 862 if ((entry = snd_info_create_card_entry(card, "task_tree", ins->proc_dsp_dir)) != NULL) {
863 entry->content = SNDRV_INFO_CONTENT_TEXT; 863 entry->content = SNDRV_INFO_CONTENT_TEXT;
864 entry->private_data = chip; 864 entry->private_data = chip;
865 entry->mode = S_IFREG | S_IRUGO | S_IWUSR; 865 entry->mode = S_IFREG | 0644;
866 entry->c.text.read = cs46xx_dsp_proc_task_tree_read; 866 entry->c.text.read = cs46xx_dsp_proc_task_tree_read;
867 if (snd_info_register(entry) < 0) { 867 if (snd_info_register(entry) < 0) {
868 snd_info_free_entry(entry); 868 snd_info_free_entry(entry);
@@ -874,7 +874,7 @@ int cs46xx_dsp_proc_init (struct snd_card *card, struct snd_cs46xx *chip)
874 if ((entry = snd_info_create_card_entry(card, "scb_info", ins->proc_dsp_dir)) != NULL) { 874 if ((entry = snd_info_create_card_entry(card, "scb_info", ins->proc_dsp_dir)) != NULL) {
875 entry->content = SNDRV_INFO_CONTENT_TEXT; 875 entry->content = SNDRV_INFO_CONTENT_TEXT;
876 entry->private_data = chip; 876 entry->private_data = chip;
877 entry->mode = S_IFREG | S_IRUGO | S_IWUSR; 877 entry->mode = S_IFREG | 0644;
878 entry->c.text.read = cs46xx_dsp_proc_scb_read; 878 entry->c.text.read = cs46xx_dsp_proc_scb_read;
879 if (snd_info_register(entry) < 0) { 879 if (snd_info_register(entry) < 0) {
880 snd_info_free_entry(entry); 880 snd_info_free_entry(entry);