Messages in this thread | | | Subject | Re: [PATCH 1/7] regulator: qcom-labibb: Implement voltage selector ops | From | AngeloGioacchino Del Regno <> | Date | Mon, 11 Jan 2021 19:43:47 +0100 |
| |
Il 11/01/21 14:16, Mark Brown ha scritto: > On Sat, Jan 09, 2021 at 02:29:15PM +0100, AngeloGioacchino Del Regno wrote: > >> + .linear_ranges = (struct linear_range[]) { >> + REGULATOR_LINEAR_RANGE(4600000, 0, 15, 100000), >> + }, >> + .n_linear_ranges = 1, > > If there's a single range that's just a simple linear mapping and should > use regulator_map_voltage_linear(). >
Yeah... that's.. my brain playing jokes on me, I think... Thank you, will fix in V2!
| |