Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 16142
b: refs/heads/master
c: 8cb7b63
h: refs/heads/master
v: v3
  • Loading branch information
Takashi Iwai authored and Jaroslav Kysela committed Jan 3, 2006
1 parent dace3a9 commit 741a266
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 04f141a8800d022981f0405a8d307c98aba55105
refs/heads/master: 8cb7b63f5baf7b5e788f0d632d5ebd018856416f
12 changes: 6 additions & 6 deletions trunk/sound/sparc/dbri.c
Original file line number Diff line number Diff line change
Expand Up @@ -2519,15 +2519,15 @@ static void dbri_debug_read(struct snd_info_entry * entry,
void snd_dbri_proc(struct snd_dbri * dbri)
{
struct snd_info_entry *entry;
int err;

err = snd_card_proc_new(dbri->card, "regs", &entry);
snd_info_set_text_ops(entry, dbri, 1024, dbri_regs_read);
if (! snd_card_proc_new(dbri->card, "regs", &entry))
snd_info_set_text_ops(entry, dbri, 1024, dbri_regs_read);

#ifdef DBRI_DEBUG
err = snd_card_proc_new(dbri->card, "debug", &entry);
snd_info_set_text_ops(entry, dbri, 4096, dbri_debug_read);
entry->mode = S_IFREG | S_IRUGO; /* Readable only. */
if (! snd_card_proc_new(dbri->card, "debug", &entry)) {
snd_info_set_text_ops(entry, dbri, 4096, dbri_debug_read);
entry->mode = S_IFREG | S_IRUGO; /* Readable only. */
}
#endif
}

Expand Down

0 comments on commit 741a266

Please sign in to comment.