On Fri, Jan 10, 2014 at 10:27:45AM +0000, Mark Brown wrote:
> On Wed, Jan 08, 2014 at 11:35:38PM +0100, Philippe De Muyter wrote:
> 
> > Is there a convenience function similar to spi_write_then_read
> > to handle that case or must I roll my own one in my driver ?
> 
> Try regmap?

Thanks.

Actually it was late in the evening and I was confusing read in
`spi_write_then_read' with read as in 'read a register'.

`spi_write_then_read' should probably better be named `spi_xmit_then_rcv'

Best regards

Philippe

-- 
Philippe De Muyter +32 2 6101532 Macq SA rue de l'Aeronef 2 B-1140 Bruxelles
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to