From: Johannes Berg <johannes@sipsolutions.net>
To: Jean Delvare <khali@linux-fr.org>
Cc: Takashi Iwai <tiwai@suse.de>,
linuxppc-dev@ozlabs.org, alsa-devel@alsa-project.org
Subject: Re: [PATCH] AOA: Convert onyx and tas codecs to new-style i2c drivers
Date: Tue, 14 Apr 2009 23:59:59 +0200 [thread overview]
Message-ID: <1239746399.4205.21.camel@johannes.local> (raw)
In-Reply-To: <20090414214949.736597d9@hyperion.delvare>
[-- Attachment #1: Type: text/plain, Size: 2024 bytes --]
Hi Jean,
> Thanks for the quick test and sorry that it didn't work. I'll take a
> look at the trace below and try to figure out what went wrong.
No worries, seems some error path is going wrong but I can't see what it
is right now.
> Did you remove the 2 MODULE_DEVICE_TABLE from my patch? If you didn't,
> please pick the latest version of my patch which doesn't have them:
> ftp://ftp.kernel.org/pub/linux/kernel/people/jdelvare/linux-2.6/jdelvare-i2c/sound-aoa-codecs-convert-to-new-style.patch
> I don't think they are the reason of the crash, but who knows...
No, I didn't, but I was loading the modules manually so that didn't kick
in.
> Are you using a machine with onyx or tas? I guess onyx but I want to be
> sure.
onyx only.
> > [ 10.267137] snd-aoa-codec-onyx: found pcm3052
> > [ 10.267238] PM: Adding info for i2c:2-0046
> > [ 10.267926] snd-aoa-fabric-layout: platform-onyx-codec-ref doesn't match!
>
> Does this error also happen without my patch? It would help to see the
> logs without my patch to see where it starts diverging.
Yes -- this happens normally.
> > [ 10.267930] snd-aoa: fabric didn't like codec onyx
> > [ 10.268041] aoa_codec_onyx: probe of 2-0046 failed with error -22
>
> Apparently aoa_codec_register failed in onyx_i2c_probe(), I have to
> understand why.
Because the device-tree is broken -- there are two nodes for the same
device, and only one of them can be used. Then the fabric rejects the
first instantiation from the broken node. Here's how it looks normally:
...
[ 10.398296] snd-aoa-codec-onyx: found pcm3052
[ 10.398472] PM: Adding info for i2c:2-0046
[ 10.412189] snd-aoa-fabric-layout: platform-onyx-codec-ref doesn't match!
[ 10.462593] snd-aoa: fabric didn't like codec onyx
[ 10.468030] PM: Removing info for i2c:2-0046
[ 10.473892] snd-aoa-codec-onyx: found pcm3052
[ 10.479317] PM: Adding info for i2c:3-0046
[ 10.485631] snd-aoa-fabric-layout: can use this codec
...
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2009-04-14 22:00 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-08 13:02 [PATCH] AOA: Convert onyx and tas codecs to new-style i2c drivers Jean Delvare
2009-04-08 15:51 ` Johannes Berg
2009-04-08 20:48 ` Jean Delvare
2009-04-09 7:44 ` Johannes Berg
2009-04-09 12:19 ` Jean Delvare
2009-04-09 12:34 ` Johannes Berg
2009-04-09 14:21 ` Jean Delvare
2009-04-10 15:02 ` Jean Delvare
2009-04-14 14:37 ` Jean Delvare
2009-04-14 14:45 ` Takashi Iwai
2009-04-16 7:53 ` Jean Delvare
2009-04-16 7:56 ` Takashi Iwai
2009-04-14 15:40 ` Johannes Berg
2009-04-14 15:50 ` Johannes Berg
2009-04-14 16:57 ` Jean Delvare
2009-04-14 17:41 ` Johannes Berg
2009-04-14 19:49 ` Jean Delvare
2009-04-14 21:59 ` Johannes Berg [this message]
2009-04-15 12:15 ` Jean Delvare
2009-04-15 12:52 ` Johannes Berg
2009-04-15 13:06 ` Jean Delvare
2009-04-15 13:18 ` Johannes Berg
2009-04-15 13:52 ` Jean Delvare
2009-04-14 22:48 ` Andreas Schwab
2009-04-15 8:19 ` Jean Delvare
2009-04-14 16:48 ` Andreas Schwab
2009-04-14 17:20 ` Johannes Berg
-- strict thread matches above, loose matches on Subject: below --
2009-04-20 20:54 Jean Delvare
2009-04-20 21:04 ` Johannes Berg
2009-04-21 9:29 ` Jean Delvare
2009-04-21 9:41 ` Johannes Berg
2009-04-21 6:30 ` Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1239746399.4205.21.camel@johannes.local \
--to=johannes@sipsolutions.net \
--cc=alsa-devel@alsa-project.org \
--cc=khali@linux-fr.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).