[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <b90c0690907310734g626896e8weccea8acbfaeae30@mail.gmail.com>
Date: Fri, 31 Jul 2009 17:34:22 +0300
From: Roger Quadros <quadros.roger@...il.com>
To: Mark Brown <broonie@...nsource.wolfsonmicro.com>
Cc: pHilipp Zabel <philipp.zabel@...il.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] regulator: Add GPIO enable control to fixed voltage
regulator driver
On Fri, Jul 31, 2009 at 5:22 PM, Roger Quadros<quadros.roger@...il.com> wrote:
> On Fri, Jul 31, 2009 at 5:15 PM, Mark
> Brown<broonie@...nsource.wolfsonmicro.com> wrote:
>> On Fri, Jul 31, 2009 at 05:13:23PM +0300, Roger Quadros wrote:
>>
>>> OK I got what you meant now. If we use the use_gpio_enable flag then there would
>>> not be any problem even if GPIO is set to 0 ignorantly. Because in
>>> that case use_gpio_enable will
>>> also be set to zero.
>>> So, I feel we should keep use_gpio_enable as it is in the original patch.
>>
>> There's no in-tree users to care about and the use_gpio_enable thing is
>> just ugly - it's not worth carrying it around for ever just for this.
>>
>
> OK. I will remove use_gpio_enable then.
>
Also, if regulator register fails then we should free the GPIO
before goto err_name
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists