On Mon, Nov 28, 2011 at 2:23 PM, Laurent Pinchart
<[email protected]> wrote:
> I'm not too familiar with the way the SPI subsystem plugs its devices in the
> Linux device model, so I'm not sure what the right fix is. An alternative
> would
> be to register the SPI devices as children of the SPI master, not as siblings.
I think that is actually the right solution, so the bug is in spi_alloc_device()
where it sets:
struct spi_device *spi;
struct device *dev = master->dev.parent;
The latter should be:
struct device *dev = master->dev;
Just my €0.01...
Yours,
Linus Walleij
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
spi-devel-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spi-devel-general