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/soc/codecs/wm_adsp.c | |
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/soc/codecs/wm_adsp.c')
-rw-r--r-- | sound/soc/codecs/wm_adsp.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/sound/soc/codecs/wm_adsp.c b/sound/soc/codecs/wm_adsp.c index 82b0927e6ed7..af062c4f4017 100644 --- a/sound/soc/codecs/wm_adsp.c +++ b/sound/soc/codecs/wm_adsp.c | |||
@@ -627,22 +627,21 @@ static void wm_adsp2_init_debugfs(struct wm_adsp *dsp, | |||
627 | if (!root) | 627 | if (!root) |
628 | goto err; | 628 | goto err; |
629 | 629 | ||
630 | if (!debugfs_create_bool("booted", S_IRUGO, root, &dsp->booted)) | 630 | if (!debugfs_create_bool("booted", 0444, root, &dsp->booted)) |
631 | goto err; | 631 | goto err; |
632 | 632 | ||
633 | if (!debugfs_create_bool("running", S_IRUGO, root, &dsp->running)) | 633 | if (!debugfs_create_bool("running", 0444, root, &dsp->running)) |
634 | goto err; | 634 | goto err; |
635 | 635 | ||
636 | if (!debugfs_create_x32("fw_id", S_IRUGO, root, &dsp->fw_id)) | 636 | if (!debugfs_create_x32("fw_id", 0444, root, &dsp->fw_id)) |
637 | goto err; | 637 | goto err; |
638 | 638 | ||
639 | if (!debugfs_create_x32("fw_version", S_IRUGO, root, | 639 | if (!debugfs_create_x32("fw_version", 0444, root, &dsp->fw_id_version)) |
640 | &dsp->fw_id_version)) | ||
641 | goto err; | 640 | goto err; |
642 | 641 | ||
643 | for (i = 0; i < ARRAY_SIZE(wm_adsp_debugfs_fops); ++i) { | 642 | for (i = 0; i < ARRAY_SIZE(wm_adsp_debugfs_fops); ++i) { |
644 | if (!debugfs_create_file(wm_adsp_debugfs_fops[i].name, | 643 | if (!debugfs_create_file(wm_adsp_debugfs_fops[i].name, |
645 | S_IRUGO, root, dsp, | 644 | 0444, root, dsp, |
646 | &wm_adsp_debugfs_fops[i].fops)) | 645 | &wm_adsp_debugfs_fops[i].fops)) |
647 | goto err; | 646 | goto err; |
648 | } | 647 | } |