Re: [PATCH 2/3] mmc: Add mmc_vddrange_to_ocrmask() helper function

2008-11-08 Thread Pierre Ossman
On Thu, 30 Oct 2008 22:56:32 +0300 Anton Vorontsov <[EMAIL PROTECTED]> wrote: > +/** > + * mmc_vddrange_to_ocrmask - Convert a voltage range to the OCR mask > + * @vdd_min: minimum voltage value (mV) > + * @vdd_max: maximum voltage value (mV) > + * @mask:pointer to the mask > + * Why the poin

[PATCH 2/3] mmc: Add mmc_vddrange_to_ocrmask() helper function

2008-10-30 Thread Anton Vorontsov
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 <[EMAIL PROTECTED]> --- drivers/mmc/core/core.c | 55 ++ include/linux/mmc/core.h |3 ++