Re: [PATCH 2/2] mmci: fixup sg buffer handling in mmci_pio_irq.

2011-05-08 Thread Linus Walleij
On Sun, May 8, 2011 at 12:22 PM, Russell King - ARM Linux wrote: > On Thu, May 05, 2011 at 01:14:23PM +0200, Linus Walleij wrote: >> The patch fix the problem by checking result of mmci_pio_write(). >> >> The fault was introduced in the change: >>       I2e506ec1f5a7fadf9780c18d8d31573eaf048273 >>

Re: [PATCH 2/2] mmci: fixup sg buffer handling in mmci_pio_irq.

2011-05-08 Thread Russell King - ARM Linux
On Thu, May 05, 2011 at 01:14:23PM +0200, Linus Walleij wrote: > From: Dmitry Tarnyagin > > Earlier code was expecting that mmci_pio_write() returns > not more than 'remain' bytes transferred. It is not the case > for buffers which are not multiple of 4 bytes length. > > The patch fix the proble

[PATCH 2/2] mmci: fixup sg buffer handling in mmci_pio_irq.

2011-05-05 Thread Linus Walleij
From: Dmitry Tarnyagin Earlier code was expecting that mmci_pio_write() returns not more than 'remain' bytes transferred. It is not the case for buffers which are not multiple of 4 bytes length. The patch fix the problem by checking result of mmci_pio_write(). The fault was introduced in the ch