diff options
author | Takashi Iwai <tiwai@suse.de> | 2018-06-04 05:41:48 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-06-04 05:42:27 -0400 |
commit | cdbc653a04ee692a7105a96e8dd6055d9971d45c (patch) | |
tree | c1282680b3115edfd693a27bc6758208534ac557 /sound/pci/cs46xx | |
parent | 009f8c90f571d87855914dbc20e6c0ea2a3b19ae (diff) | |
parent | ceec4684085a9e4dc60439d84ab47ce260444804 (diff) |
Merge branch 'for-next' into for-linus
4.18-rc1 merge material.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/cs46xx')
-rw-r--r-- | sound/pci/cs46xx/cs46xx.c | 2 | ||||
-rw-r--r-- | sound/pci/cs46xx/cs46xx_lib.c | 2 | ||||
-rw-r--r-- | sound/pci/cs46xx/dsp_spos.c | 14 | ||||
-rw-r--r-- | sound/pci/cs46xx/dsp_spos_scb_lib.c | 2 |
4 files changed, 10 insertions, 10 deletions
diff --git a/sound/pci/cs46xx/cs46xx.c b/sound/pci/cs46xx/cs46xx.c index 655fbea1692c..4910d3f46d4b 100644 --- a/sound/pci/cs46xx/cs46xx.c +++ b/sound/pci/cs46xx/cs46xx.c | |||
@@ -58,7 +58,7 @@ MODULE_PARM_DESC(id, "ID string for the CS46xx soundcard."); | |||
58 | module_param_array(enable, bool, NULL, 0444); | 58 | module_param_array(enable, bool, NULL, 0444); |
59 | MODULE_PARM_DESC(enable, "Enable CS46xx soundcard."); | 59 | MODULE_PARM_DESC(enable, "Enable CS46xx soundcard."); |
60 | module_param_array(external_amp, bool, NULL, 0444); | 60 | module_param_array(external_amp, bool, NULL, 0444); |
61 | MODULE_PARM_DESC(external_amp, "Force to enable external amplifer."); | 61 | MODULE_PARM_DESC(external_amp, "Force to enable external amplifier."); |
62 | module_param_array(thinkpad, bool, NULL, 0444); | 62 | module_param_array(thinkpad, bool, NULL, 0444); |
63 | MODULE_PARM_DESC(thinkpad, "Force to enable Thinkpad's CLKRUN control."); | 63 | MODULE_PARM_DESC(thinkpad, "Force to enable Thinkpad's CLKRUN control."); |
64 | module_param_array(mmap_valid, bool, NULL, 0444); | 64 | module_param_array(mmap_valid, bool, NULL, 0444); |
diff --git a/sound/pci/cs46xx/cs46xx_lib.c b/sound/pci/cs46xx/cs46xx_lib.c index 0020fd0efc46..ed1251c5f449 100644 --- a/sound/pci/cs46xx/cs46xx_lib.c +++ b/sound/pci/cs46xx/cs46xx_lib.c | |||
@@ -2849,7 +2849,7 @@ static int snd_cs46xx_proc_init(struct snd_card *card, struct snd_cs46xx *chip) | |||
2849 | entry->private_data = chip; | 2849 | entry->private_data = chip; |
2850 | entry->c.ops = &snd_cs46xx_proc_io_ops; | 2850 | entry->c.ops = &snd_cs46xx_proc_io_ops; |
2851 | entry->size = region->size; | 2851 | entry->size = region->size; |
2852 | entry->mode = S_IFREG | S_IRUSR; | 2852 | entry->mode = S_IFREG | 0400; |
2853 | } | 2853 | } |
2854 | } | 2854 | } |
2855 | #ifdef CONFIG_SND_CS46XX_NEW_DSP | 2855 | #ifdef CONFIG_SND_CS46XX_NEW_DSP |
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); |
diff --git a/sound/pci/cs46xx/dsp_spos_scb_lib.c b/sound/pci/cs46xx/dsp_spos_scb_lib.c index 7488e1b7a770..abb01ce66983 100644 --- a/sound/pci/cs46xx/dsp_spos_scb_lib.c +++ b/sound/pci/cs46xx/dsp_spos_scb_lib.c | |||
@@ -271,7 +271,7 @@ void cs46xx_dsp_proc_register_scb_desc (struct snd_cs46xx *chip, | |||
271 | 271 | ||
272 | entry->content = SNDRV_INFO_CONTENT_TEXT; | 272 | entry->content = SNDRV_INFO_CONTENT_TEXT; |
273 | entry->private_data = scb_info; | 273 | entry->private_data = scb_info; |
274 | entry->mode = S_IFREG | S_IRUGO | S_IWUSR; | 274 | entry->mode = S_IFREG | 0644; |
275 | 275 | ||
276 | entry->c.text.read = cs46xx_dsp_proc_scb_info_read; | 276 | entry->c.text.read = cs46xx_dsp_proc_scb_info_read; |
277 | 277 | ||