On Tue, Jul 27, 2010 at 12:28 AM, David Brownell <[email protected]> wrote: > There are things wrong with the concept of this > particular patch. First, that it's mpc5121-only. > Second, that it's not already handled as part of > registering the platform's SPI devices.
The reason is that in this use case the platform code doesn't provide a list of spi devices. The list of devices is contained in the flattened device tree, and the data is parsed after the spi bus is created. But you're right; the fact that each driver has to explicitly call this function is a problem. I plan to write a patch to remove all those calls in each driver and call it from the core spi core instead. g. ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://ad.doubleclick.net/clk;226879339;13503038;l? http://clk.atdmt.com/CRS/go/247765532/direct/01/ _______________________________________________ spi-devel-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/spi-devel-general
