Re: [PATCH 6/6] ARM: dts: Add tps65090 FETs constraints
From: Mark Brown
Date: Wed Aug 13 2014 - 11:51:55 EST
On Wed, Aug 13, 2014 at 03:34:12PM +0200, Javier Martinez Canillas wrote:
> Indeed. I'll change mmc_regulator_get_ocrmask() in MMC core then to use
> regulator_can_change_voltage() to detect if the regulator is a fixed one
> and call regulator_get_voltage() instead of list_voltage() in that case.
> Do you agree that this is the correct solution?
I would just fall back to get_voltage() if there are no voltages listed,
that seems more robust.
Attachment:
signature.asc
Description: Digital signature