diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-10-14 20:31:54 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-10-14 20:31:54 -0400 |
commit | 6dc6472581f693b5fc95aebedf67b4960fb85cf0 (patch) | |
tree | 06a5a9a08519950575505273eabced331ed51405 /sound/isa/wavefront/wavefront_synth.c | |
parent | ee673eaa72d8d185012b1027a05e25aba18c267f (diff) | |
parent | 8acd3a60bcca17c6d89c73cee3ad6057eb83ba1e (diff) |
Merge commit 'origin'
Manual fixup of conflicts on:
arch/powerpc/include/asm/dcr-regs.h
drivers/net/ibm_newemac/core.h
Diffstat (limited to 'sound/isa/wavefront/wavefront_synth.c')
-rw-r--r-- | sound/isa/wavefront/wavefront_synth.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sound/isa/wavefront/wavefront_synth.c b/sound/isa/wavefront/wavefront_synth.c index 0bb9b9256601..4c410820a994 100644 --- a/sound/isa/wavefront/wavefront_synth.c +++ b/sound/isa/wavefront/wavefront_synth.c | |||
@@ -1648,9 +1648,10 @@ snd_wavefront_synth_ioctl (struct snd_hwdep *hw, struct file *file, | |||
1648 | 1648 | ||
1649 | card = (struct snd_card *) hw->card; | 1649 | card = (struct snd_card *) hw->card; |
1650 | 1650 | ||
1651 | snd_assert(card != NULL, return -ENODEV); | 1651 | if (snd_BUG_ON(!card)) |
1652 | 1652 | return -ENODEV; | |
1653 | snd_assert(card->private_data != NULL, return -ENODEV); | 1653 | if (snd_BUG_ON(!card->private_data)) |
1654 | return -ENODEV; | ||
1654 | 1655 | ||
1655 | acard = card->private_data; | 1656 | acard = card->private_data; |
1656 | dev = &acard->wavefront; | 1657 | dev = &acard->wavefront; |