[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120809154456.GX24328@opensource.wolfsonmicro.com>
Date: Thu, 9 Aug 2012 16:44:57 +0100
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: Stephen Warren <swarren@...dotorg.org>
Cc: Liam Girdwood <lrg@...com>, Laxman Dewangan <ldewangan@...dia.com>,
linux-kernel@...r.kernel.org, Stephen Warren <swarren@...dia.com>
Subject: Re: [PATCH V2 2/3] regulator: add regulator_get_voltage_fixed helper
op
On Thu, Aug 09, 2012 at 09:22:55AM -0600, Stephen Warren wrote:
> I don't think there's a *get*_voltage_linear. All the existing
> get_voltage "standard" ops require reading a register, hence why I added
> this new standard op. I guess I'll look at converting all the existing
> users.
Hrm, right - the fact that you've not implemented get_voltage_sel() is
what I noticed here really. I think the core should really cope with
this, if the driver has a list voltage operation but no way of reading
the voltage operation then we should just use the list voltage operation
to get the voltage back. We want to be able to list since things that
check the range of available voltages might want to know.
--
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