On Thursday 24 April 2008, Sebastian Siewior wrote:
> >And removing the subsidiary devices is supposed to unbind
> >them ... though looking at it quickly, I suspect that the
> >"spidev" driver doesn't check for unbound devices in its
> >various I/O paths.
> 
> Aha. So you mean that the read function which was spidev_read() while
> the controller was available should point to something else once the
> controller is gone?

No, I mean that the issue is most likely a spidev bug.

> >So this sounds like a bug in the controller driver, or else
> >in how spidev handles unbind.
>
> I try to look later at spidev once I find something that does a similar
> job and works as expected....

They're all over the place, though not with SPI.  The unbind
method just updates some state that's checked in the I/O ops.

- Dave
 



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
spi-devel-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spi-devel-general

Reply via email to