lkml.org 
[lkml]   [2011]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 1/6] regulator: Fix WM831x regulator ID lookups for multiple WM831xs
From
Date
On Mon, 2011-07-25 at 22:20 +0100, Mark Brown wrote:
> With multiple wm831x devices the device IDs used for the regulators will
> not always be contiguous so simply taking the modulus is not sufficient
> to look up the ID, we need to reverse the way the ID is generated.
>
> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
> ---
> drivers/regulator/wm831x-dcdc.c | 16 ++++++++++++++--
> drivers/regulator/wm831x-ldo.c | 25 ++++++++++++++++++++++---
> 2 files changed, 36 insertions(+), 5 deletions(-)
>

All Applied

Thanks

Liam



\
 
 \ /
  Last update: 2011-07-28 11:33    [W:0.062 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site