On Wed, 30 Jan 2013 09:15:04 -0500, Neil Horman wrote:
On Tue, Jan 29, 2013 at 11:10:28PM +0100, Jean Delvare wrote:
quoted
This won't fix it, unless the hardware happens to update dma_size when
receiving a block from a slave. If not then dma_size will always be
I2C_SMBUS_BLOCK_MAX, while what we need is the number of bytes actually
received.
I'm sorry, I misspoke. Its the rxbytes field in the descriptor that we need to use. I
believe that field gets updated by the firmware on dmas from the device to the
cpu.
I couldn't find a description of the hardware descriptor in the
datasheets, so I'm afraid I can't help here. If it is really there then
I'd be grateful if you can point me to the right file and page.
(...)
I'll have some tomorrow. I've got all your trivial changes fixed up, and will
hopefully be able to sort out the convoluted stuff with you and Seth in the next
few days
Great. I'll be happy to test whatever you have then.
--
Jean Delvare