]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blobdiff - sound/pci/ice1712/prodigy_hifi.c
sound: Use octal not symbolic permissions
[mirror_ubuntu-eoan-kernel.git] / sound / pci / ice1712 / prodigy_hifi.c
index 8dabd4d0211d69f7f12c2269d449fced0c250848..d7366ade5a25a55d38744e06dbdc70e45fdf6609 100644 (file)
@@ -926,7 +926,7 @@ static void wm_proc_init(struct snd_ice1712 *ice)
        struct snd_info_entry *entry;
        if (!snd_card_proc_new(ice->card, "wm_codec", &entry)) {
                snd_info_set_text_ops(entry, ice, wm_proc_regs_read);
-               entry->mode |= S_IWUSR;
+               entry->mode |= 0200;
                entry->c.text.write = wm_proc_regs_write;
        }
 }