On Fri, Jun 28, 2013 at 10:51:44AM +0800, Scott Jiang wrote:

> > Thinking about this a bit it might reject a valid transfer - it only
> > checks the setting in the SPI device, not the setting in the transfer.

> But the API description said that this call would fail if the protocol
> driver specifies an option
> that the underlying controller or its driver does not support. It's
> strange if I request 9 bits per
> word in setup successfully while calling it in transfer fail.

Yes, it's a bit odd (and I'd never expect a failure to actually trigger
here that wasn't going to be repeated in the actual transfer) but it
seems more robust.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Uclinux-dist-devel mailing list
Uclinux-dist-devel@blackfin.uclinux.org
https://blackfin.uclinux.org/mailman/listinfo/uclinux-dist-devel

Reply via email to