Re: [PATCH] ASoC drivers for the Freescale MPC8610 SoC
From: David Gibson <hidden>
Date: 2007-12-21 00:00:53
Also in:
alsa-devel
From: David Gibson <hidden>
Date: 2007-12-21 00:00:53
Also in:
alsa-devel
On Thu, Dec 20, 2007 at 06:13:31PM -0500, Jon Smirl wrote:
On 12/20/07, Scott Wood [off-list ref] wrote:quoted
Timur Tabi wrote:quoted
Jon Smirl wrote:quoted
mpc5200 does it like this: of_platform_bus_probe(NULL, NULL, NULL);I think that tells the OF base code to probe everything in the device tree, which is probably overkill. I think fsl_soc.c covers most of the device tree, but the SSI is not defined in fsl_soc.c.Not quite; it tells it to use a built-in list of bus matches. Most of which are device_type-based, FWIW.Here's the default. Using NULL would work.
It might work, but using the default list is discouraged. Pass an explicit list of match ids for the buses you need to scan instead (and use compatible to match them, not device_type). -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson