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

Russell King - ARM Linux linux at arm.linux.org.uk
Sun May 8 06:22:19 EDT 2011


On Thu, May 05, 2011 at 01:14:23PM +0200, Linus Walleij wrote:
> From: Dmitry Tarnyagin <dmitry.tarnyagin at stericsson.com>
> 
> 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 change:
> 	I2e506ec1f5a7fadf9780c18d8d31573eaf048273
> 	MMCI: Fixup sg buffer handling in pio_write

I assume this isn't for mainline as that commit isn't present.



More information about the linux-arm-kernel mailing list