From: Alex Dubov Date: Fri, 13 Apr 2007 17:04:38 +0000 (+0200) Subject: mmc: cull sg list to match mmc request size X-Git-Tag: v2.6.22-rc1~1032^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14d836e7499c53a1f6a65086c3d11600e871a971;p=pandora-kernel.git mmc: cull sg list to match mmc request size mmc layer may introduce additional (compared to block layer) limits on request size. Culling of the sg list to match adjusted request size simplifies the handling of such cases in the low level driver, allowing it to skip block count checks while processing sg entries. (fixes for wbsd and sdhci by Pierre Ossman) Signed-off-by: Alex Dubov Signed-off-by: Pierre Ossman --- Reading git-diff-tree failed