* mpc5200 and dma_ops
@ 2009-04-18 0:58 Jon Smirl
2009-04-18 1:36 ` Jon Smirl
0 siblings, 1 reply; 2+ messages in thread
From: Jon Smirl @ 2009-04-18 0:58 UTC (permalink / raw)
To: linuxppc-dev
Inside the ASoC code there a dma_alloc_coherent() call. This call is
failing because dma_ops is null.
--kernel BUG at /home/jonsmirl/fs/arch/powerpc/include/asm/dma-mapping.h:237!
The device is soc-audio which is a platform_device.
How do I get dma_ops filled in for a mpc5200 platform device?
--
Jon Smirl
jonsmirl@gmail.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: mpc5200 and dma_ops
2009-04-18 0:58 mpc5200 and dma_ops Jon Smirl
@ 2009-04-18 1:36 ` Jon Smirl
0 siblings, 0 replies; 2+ messages in thread
From: Jon Smirl @ 2009-04-18 1:36 UTC (permalink / raw)
To: linuxppc-dev
On Fri, Apr 17, 2009 at 8:58 PM, Jon Smirl <jonsmirl@gmail.com> wrote:
> Inside the ASoC code there a dma_alloc_coherent() call. This call is
> failing because dma_ops is null.
> --kernel BUG at /home/jonsmirl/fs/arch/powerpc/include/asm/dma-mapping.h:237!
> The device is soc-audio which is a platform_device.
>
> How do I get dma_ops filled in for a mpc5200 platform device?
That was a wild goose chase. If the device pointer is null it will
trigger this bug_on() which has nothing to do with the real problem.
--
Jon Smirl
jonsmirl@gmail.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-04-18 1:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-18 0:58 mpc5200 and dma_ops Jon Smirl
2009-04-18 1:36 ` Jon Smirl
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).