[PATCH v3 0/2] regulator: core: Fix ops->enable/disable usage
From: festevam@gmail.com (Fabio Estevam)
Date: 2014-02-25 02:18:10
Also in:
lkml
From: festevam@gmail.com (Fabio Estevam)
Date: 2014-02-25 02:18:10
Also in:
lkml
On Mon, Feb 24, 2014 at 10:34 PM, Mark Brown [off-list ref] wrote:
On Mon, Feb 24, 2014 at 09:50:58PM +0100, Markus Pargmann wrote:quoted
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.