Re: [PATCH] regulator: Fix bug in regulator_mode_to_status() corefunction.

From: Mark Brown
Date: Wed Jul 11 2012 - 10:26:05 EST


On Wed, Jul 11, 2012 at 03:18:00PM +0100, Krystian Garbaciak wrote:

> > This is deliberate. It's not reporting an error, it's reporting an
> > indeterminate status which is a different thing.

> Ok, then I would propose to use REGULATOR_STATUS_OFF instead of 0, to present
> your deliberate decision here.

I don't think you're fully understanding "indeterminate" there... the
whole point is that we can't adequately represent the state, making
something up isn't helping things.

Attachment: signature.asc
Description: Digital signature