Re: [PATCH] i2c: rcar: use correct length when unmapping DMA

2017-06-15 Thread Wolfram Sang
On Sun, May 28, 2017 at 09:52:17AM +0200, Wolfram Sang wrote: > Because we need to transfer some bytes with PIO, the msg length is not > the length of the DMA buffer. Use the correct value which we used when > doing the mapping. > > Fixes: 73e8b0528346e8 ("i2c: rcar: add DMA support") > Signed-off

Re: [PATCH] i2c: rcar: use correct length when unmapping DMA

2017-05-29 Thread Niklas Söderlund
On 2017-05-28 09:52:17 +0200, Wolfram Sang wrote: > Because we need to transfer some bytes with PIO, the msg length is not > the length of the DMA buffer. Use the correct value which we used when > doing the mapping. > > Fixes: 73e8b0528346e8 ("i2c: rcar: add DMA support") > Signed-off-by: Wolfram

Re: [PATCH] i2c: rcar: use correct length when unmapping DMA

2017-05-29 Thread Geert Uytterhoeven
On Sun, May 28, 2017 at 9:52 AM, Wolfram Sang wrote: > Because we need to transfer some bytes with PIO, the msg length is not > the length of the DMA buffer. Use the correct value which we used when > doing the mapping. > > Fixes: 73e8b0528346e8 ("i2c: rcar: add DMA support") > Signed-off-by: Wolf

[PATCH] i2c: rcar: use correct length when unmapping DMA

2017-05-28 Thread Wolfram Sang
Because we need to transfer some bytes with PIO, the msg length is not the length of the DMA buffer. Use the correct value which we used when doing the mapping. Fixes: 73e8b0528346e8 ("i2c: rcar: add DMA support") Signed-off-by: Wolfram Sang --- drivers/i2c/busses/i2c-rcar.c | 2 +- 1 file chang