projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3071920
)
[ALSA] powermac - Fix Oops when conflicting with aoa driver
author
Takashi Iwai
<tiwai@suse.de>
Sun, 17 Sep 2006 20:00:51 +0000
(22:00 +0200)
committer
Jaroslav Kysela
<perex@suse.cz>
Sat, 23 Sep 2006 08:47:15 +0000
(10:47 +0200)
Fixed Oops when conflictin with aoa driver due to lack of
i2c initialization.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/ppc/keywest.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/ppc/keywest.c
b/sound/ppc/keywest.c
index 59482a4cd44641ecd8d9ab253c128c93ae1dd3a3..272ae38e9b1883154f7574000270a23b84d48b84 100644
(file)
--- a/
sound/ppc/keywest.c
+++ b/
sound/ppc/keywest.c
@@
-117,6
+117,9
@@
int __init snd_pmac_tumbler_post_init(void)
{
int err;
+ if (!keywest_ctx || !keywest_ctx->client)
+ return -ENXIO;
+
if ((err = keywest_ctx->init_client(keywest_ctx)) < 0) {
snd_printk(KERN_ERR "tumbler: %i :cannot initialize the MCS\n", err);
return err;