]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
mmc: Add mmc_vddrange_to_ocrmask() helper function
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Wed, 26 Nov 2008 19:54:17 +0000 (22:54 +0300)
committerPierre Ossman <drzeus@drzeus.cx>
Wed, 31 Dec 2008 17:18:13 +0000 (18:18 +0100)
commit86e8286a0e48663e1e86a5884b30a6d05de2993a
tree34f9bf2dfdfa4a56edf84a96f7b7667fa195ed98
parent0527a60c2b6bd7ab20e82cc5e488659e20eaaacd
mmc: Add mmc_vddrange_to_ocrmask() helper function

This function sets the OCR mask bits according to provided voltage
ranges. Will be used by the mmc_spi OpenFirmware bindings.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/core/core.c
include/linux/mmc/core.h