commit | 14d836e7499c53a1f6a65086c3d11600e871a971 | [log] [tgz] |
---|---|---|
author | Alex Dubov <oakad@yahoo.com> | Fri Apr 13 19:04:38 2007 +0200 |
committer | Pierre Ossman <drzeus@drzeus.cx> | Tue May 01 13:04:12 2007 +0200 |
tree | 37d1cb767422bd498a13654ecabd6f891b27b0e3 | |
parent | dc87c3985e9b442c60994308a96f887579addc39 [diff] |
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 <oakad@yahoo.com> Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>