commit | 310c805e7f133443cd57f880b73557a4a8f54b30 | [log] [tgz] |
---|---|---|
author | Heiko Stuebner <heiko@sntech.de> | Mon Oct 12 18:00:54 2015 +0200 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Mon Oct 26 16:00:10 2015 +0100 |
tree | 5e3986460913c23d5185bbeceabb38275fe1cc1a | |
parent | 9eadcc0581a8ccaf4c2378aa1c193fb164304f1d [diff] |
mmc: core: move ocr-bit to voltage translation into separate function We will shortly need the calculation of an ocr-bit to the actual voltage in a second place too, so move it from mmc_regulator_set_ocr to a common function mmc_ocrbitnum_to_vdd to make that possible. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>