From: Rabin Vincent Date: Wed, 21 Jul 2010 11:44:58 +0000 (+0100) Subject: ARM: 6237/1: mmci: use sg_miter API to fix multi-page sg handling X-Git-Tag: v2.6.36-rc1~591^2~1^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ce1d6cbf07271ab8f7cc47c3e27edeac08b58a7;p=pandora-kernel.git ARM: 6237/1: mmci: use sg_miter API to fix multi-page sg handling The mmci driver's SG list iteration logic assumes that each SG entry spans only one page, and only maps and flushes one page of the sg. This is not a valid assumption. Fix it by converting the driver to the sg_miter API, which correctly handles sgs which span multiple pages. Acked-by: Linus Walleij Signed-off-by: Rabin Vincent Signed-off-by: Russell King --- Reading git-diff-tree failed