Messages in this thread | | | Subject | Re: [PATCH 1/6] regulator: Fix WM831x regulator ID lookups for multiple WM831xs | From | Liam Girdwood <> | Date | Thu, 28 Jul 2011 10:30:30 +0100 |
| |
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
| |