OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac9af7c
)
[PATCH] Stop snd-powermac oopsing on non-pmac hardware.
author
David Woodhouse
<dwmw2@infradead.org>
Wed, 17 Aug 2005 10:36:35 +0000
(11:36 +0100)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Wed, 17 Aug 2005 21:55:37 +0000
(14:55 -0700)
We shouldn't be assuming that ppc_md.feature_call will be present.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
sound/ppc/pmac.c
patch
|
blob
|
history
diff --git
a/sound/ppc/pmac.c
b/sound/ppc/pmac.c
index
844d761
..
c89e82e
100644
(file)
--- a/
sound/ppc/pmac.c
+++ b/
sound/ppc/pmac.c
@@
-765,7
+765,8
@@
snd_pmac_ctrl_intr(int irq, void *devid, struct pt_regs *regs)
*/
static void snd_pmac_sound_feature(pmac_t *chip, int enable)
{
- ppc_md.feature_call(PMAC_FTR_SOUND_CHIP_ENABLE, chip->node, 0, enable);
+ if (ppc_md.feature_call)
+ ppc_md.feature_call(PMAC_FTR_SOUND_CHIP_ENABLE, chip->node, 0, enable);
}
/*