From: Aaron Lu Date: Wed, 4 Jul 2012 05:31:48 +0000 (+0800) Subject: mmc: sd: Fix sd current limit setting X-Git-Tag: v3.6-rc1~153^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55c4665ea0a42fd6427826bfce96eb4b0389262a;p=pandora-kernel.git mmc: sd: Fix sd current limit setting Host has different current capabilities at different voltages, we need to record these settings seperately. The defined voltages are 1.8/3.0/3.3. For other voltages, we do not touch current limit setting. Before we set the current limit for the sd card, find out the host's operating voltage first and then find out the current capabilities of the host at that voltage to set the current limit. Signed-off-by: Aaron Lu Reviewed-by: Philip Rakity Signed-off-by: Chris Ball --- Reading git-diff-tree failed