On Wednesday, September 30, 2015 at 8:25:47 AM UTC-3, 
[email protected] wrote:
>
> You need to set the tx_nbits and rx_nbits fields of the spi_ioc_transfer 
> struct
> to something valid. Zero will do.
>
>
Better would be to first zero-initialize the entire struct using memset. 
Then you set the non-zero fields.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to