projects
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ALSA: hda - Fix SPDIF mute on IDT/STAC codecs
[linux-2.6]
/
sound
/
parisc
/
harmony.c
diff --git
a/sound/parisc/harmony.c
b/sound/parisc/harmony.c
index
99f5483
..
41f870f
100644
(file)
--- a/
sound/parisc/harmony.c
+++ b/
sound/parisc/harmony.c
@@
-868,7
+868,8
@@
snd_harmony_mixer_init(struct snd_harmony *h)
struct snd_card *card = h->card;
int idx, err;
- snd_assert(h != NULL, return -EINVAL);
+ if (snd_BUG_ON(!h))
+ return -EINVAL;
strcpy(card->mixername, "Harmony Gain control interface");
for (idx = 0; idx < HARMONY_CONTROLS; idx++) {