[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120711142606.GK3938@opensource.wolfsonmicro.com>
Date: Wed, 11 Jul 2012 15:26:06 +0100
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: Krystian Garbaciak <krystian.garbaciak@...semi.com>
Cc: Liam Girdwood <lrg@...com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] regulator: Fix bug in regulator_mode_to_status() core
function.
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.
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists