[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20100906094437.GB10367@rakim.wolfsonmicro.main>
Date: Mon, 6 Sep 2010 10:44:38 +0100
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: Axel Lin <axel.lin@...il.com>
Cc: linux-kernel <linux-kernel@...r.kernel.org>,
Liam Girdwood <lrg@...mlogic.co.uk>
Subject: Re: [PATCH] regulator: wm831x-ldo - fix the logic to set
REGULATOR_MODE_IDLE and REGULATOR_MODE_STANDBY modes
On Mon, Sep 06, 2010 at 04:48:13PM +0800, Axel Lin wrote:
> Problem description in current implementation:
> When setting REGULATOR_MODE_IDLE mode, current implementation set
> WM831X_LDO1_LP_MODE bit of ctrl_reg (which is wrong, it should clear the bit).
Again, it would be really helpful if you could make your analysis
clearer - at no point do you explain why you think the chip settings
that result from your changes are correct. Your message explains that
the status readback differs from the settings but it doesn't explain how
you know which bit of code is correct. This means that your messages
set off alarm bells as it looks like you're just guessing about what
needs to be done to the chip.
In this case your patch appears to be OK so:
Acked-by: Mark Brown <broonie@...nsource.wolfsonmicro.com>
--
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