diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2015-02-06 14:12:53 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2015-06-01 09:07:11 +0200 |
commit | fa021cef1af64cb4ba11c3c0910ef45085c58016 (patch) | |
tree | f04d595f6b06833226a96bab2e9aafccaf74ba2c /drivers/hv | |
parent | b4f30a174e1fda8118eda038b5d8d5260db36ad5 (diff) |
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 <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/hv')
0 files changed, 0 insertions, 0 deletions