“b4d511e5c7c3d063c6cb1110797eb8221c5b2c09”上不存在“...scsi/git@gitcode.net:openeuler/raspberrypi-kernel.git”
提交 783eaf46 编写于 作者: T Takashi Iwai 提交者: Jaroslav Kysela

[ALSA] powermac - Fix Oops when conflicting with aoa driver

Fixed Oops when conflictin with aoa driver due to lack of
i2c initialization.
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
Signed-off-by: NJaroslav Kysela <perex@suse.cz>
上级 30719206
...@@ -117,6 +117,9 @@ int __init snd_pmac_tumbler_post_init(void) ...@@ -117,6 +117,9 @@ int __init snd_pmac_tumbler_post_init(void)
{ {
int err; int err;
if (!keywest_ctx || !keywest_ctx->client)
return -ENXIO;
if ((err = keywest_ctx->init_client(keywest_ctx)) < 0) { if ((err = keywest_ctx->init_client(keywest_ctx)) < 0) {
snd_printk(KERN_ERR "tumbler: %i :cannot initialize the MCS\n", err); snd_printk(KERN_ERR "tumbler: %i :cannot initialize the MCS\n", err);
return err; return err;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部