Re: [PATCH] ASoC/multi-component: fix au1x platform

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 19, 2010 at 6:06 PM, Mark Brown
<broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> On Thu, Aug 19, 2010 at 05:59:24PM +0200, Manuel Lauss wrote:
>> On Thu, Aug 19, 2010 at 5:52 PM, Mark Brown
>
>> > This is the only embedded device I've ever seen where anyone wanted to
>> > use multiple AC97 controllers so not directly. ?If you look at the SoC
>> > core you can see how the various ALSA structures are converted into ASoC
>> > specific ones, though.
>
>> I figured out how to access platform data in dai_ops,  however I see absolutely
>> no way to get at it from the ac97_ops.
>
> The snd_card has private data...

Thanks.  However there's another problem:  the ac97 codec accesses the
snd_ac97_ops() before the AC97 controller has been set up, which, naturally,
results in an oops.  I'll keep the current crutch for ac97 in place for now.

AC97 SoC Audio Codec 0.6
CPU 0 Unable to handle kernel paging request at virtual address
00000050, epc == 803a42dc, ra == 80396ad0
Call Trace:
[<803a42dc>] au1xpsc_ac97_cold_reset+0x1c/0x14c
[<80396ad0>] snd_ac97_mixer+0x1dc/0x198c
[<803a2ea4>] ac97_soc_probe+0xa8/0xd4
[<8039db20>] snd_soc_instantiate_cards+0x4c8/0xb10
[<8039e27c>] soc_probe+0x114/0x154
[<802ef0fc>] driver_probe_device+0xe4/0x1a0
[<802ee404>] bus_for_each_drv+0x60/0xb0
[<802ef370>] device_attach+0x74/0xa8
[<802ee1e8>] bus_probe_device+0x30/0x54
[<802ec9a0>] device_add+0x384/0x534
[<802f09a4>] platform_device_add+0x15c/0x1c8
[<805ccb04>] db1200_audio_load+0x70/0x9c
[<801004fc>] do_one_initcall+0xfc/0x1e0
[<805ba32c>] kernel_init+0xc8/0x168
[<80105904>] kernel_thread_helper+0x10/0x18


Manuel
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux