From: Adrian Hunter Date: Fri, 5 Dec 2014 17:25:28 +0000 (+0200) Subject: mmc: sdhci: Tuning should not change max_blk_count X-Git-Tag: fixes-v4.0-rc1~307^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac00531d9f4be487366573e2bb943e68e9e523ab;p=pandora-kernel.git mmc: sdhci: Tuning should not change max_blk_count Re-tuning requires that the maximum data length is limited to 4MiB. The code currently changes max_blk_count in an attempt to achieve that. This is wrong because max_blk_count is a different limit, but it is also un-necessary because max_req_size is 512KiB anyway. Consequently, the changes to max_blk_count are removed and the comment for max_req_size adjusted accordingly. The comment is also tweaked to show that the 512KiB limit is a SDMA limit not an ADMA limit. Signed-off-by: Adrian Hunter Reviewed-by: Aaron Lu Signed-off-by: Ulf Hansson --- Reading git-diff-tree failed