[PATCH v3 0/2] regulator: core: Fix ops->enable/disable usage

Fabio Estevam festevam at gmail.com
Mon Feb 24 21:18:08 EST 2014


On Mon, Feb 24, 2014 at 10:34 PM, Mark Brown <broonie at kernel.org> wrote:
> On Mon, Feb 24, 2014 at 09:50:58PM +0100, Markus Pargmann wrote:
>
>> The only situation where this returns -EINVAL is a dummy regulator that
>> is not always_on. As it doesn't make sense to have a dummy regulator
>> that is not always_on, I will add a check for exactly this situation to
>> the regulator_register function and drop the "return -EINVAL" above.
>
> I've squashed the following fix in today:

Thanks. This fixes the issue.



More information about the linux-arm-kernel mailing list