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/sparc | |
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/sparc')
-rw-r--r-- | sound/sparc/dbri.c | 4 |
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 | ||