From: Adrian Hunter Date: Fri, 6 Feb 2015 12:12:53 +0000 (+0200) Subject: mmc: core: Simplify card drive strength mask X-Git-Tag: omap-for-v4.2/fixes-rc1^2~161^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa021cef1af64cb4ba11c3c0910ef45085c58016;p=pandora-kernel.git mmc: core: Simplify card drive strength mask Card drive strength selection uses a callback to which a mask of supported drive strengths is passed. Currently, the bits are checked against the values in the SD specifications. That is not necessary because the callback will anyway match the mask against a valid value. Simplify by taking the mask as is but still ensuring that the default mandatory value (type B) is always supported. Signed-off-by: Adrian Hunter Signed-off-by: Ulf Hansson --- Reading git-diff-tree failed