mpc5200 and dma_ops

Jon Smirl jonsmirl at gmail.com
Sat Apr 18 11:36:30 EST 2009


On Fri, Apr 17, 2009 at 8:58 PM, Jon Smirl <jonsmirl at 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 at gmail.com



More information about the Linuxppc-dev mailing list