aboutsummaryrefslogtreecommitdiffstats
path: root/sound/sparc/dbri.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/sparc/dbri.c')
-rw-r--r--sound/sparc/dbri.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/sparc/dbri.c b/sound/sparc/dbri.c
index abc7bd5055eb..7609eceba1a2 100644
--- a/sound/sparc/dbri.c
+++ b/sound/sparc/dbri.c
@@ -2518,7 +2518,7 @@ static void snd_dbri_proc(struct snd_card *card)
2518#ifdef DBRI_DEBUG 2518#ifdef DBRI_DEBUG
2519 if (!snd_card_proc_new(card, "debug", &entry)) { 2519 if (!snd_card_proc_new(card, "debug", &entry)) {
2520 snd_info_set_text_ops(entry, dbri, dbri_debug_read); 2520 snd_info_set_text_ops(entry, dbri, dbri_debug_read);
2521 entry->mode = S_IFREG | S_IRUGO; /* Readable only. */ 2521 entry->mode = S_IFREG | 0444; /* Readable only. */
2522 } 2522 }
2523#endif 2523#endif
2524} 2524}
@@ -2542,7 +2542,7 @@ static int snd_dbri_create(struct snd_card *card,
2542 dbri->irq = irq; 2542 dbri->irq = irq;
2543 2543
2544 dbri->dma = dma_zalloc_coherent(&op->dev, sizeof(struct dbri_dma), 2544 dbri->dma = dma_zalloc_coherent(&op->dev, sizeof(struct dbri_dma),
2545 &dbri->dma_dvma, GFP_ATOMIC); 2545 &dbri->dma_dvma, GFP_KERNEL);
2546 if (!dbri->dma) 2546 if (!dbri->dma)
2547 return -ENOMEM; 2547 return -ENOMEM;
2548 2548