> 
> It's a sibling to the platform_data field, and
> should be set up with that.  Neither one should
> be assigned or understood by protocol drivers.


> 
> Historically, controller_data was used ISTR to
> cope with tuning that the PXA SPI controller
> required (DMA etc).  Most controllers should
> have no need for it.
> 

DW spi driver is also using the controller data, but as you said
protocol driver itself doesn't need set it. Platform code where
that spi device is registered (by spi_register_board_info) should
set up the controller data.

Thanks,
Feng

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
spi-devel-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spi-devel-general

Reply via email to