Thread (7 messages) 7 messages, 2 authors, 2018-07-11

[PATCH v2 2/2] regulator: uniphier: add regulator driver for UniPhier SoC

From: broonie@kernel.org (Mark Brown)
Date: 2018-07-11 09:32:53
Also in: linux-devicetree, lkml

On Wed, Jul 11, 2018 at 11:31:35AM +0900, Kunihiko Hayashi wrote:
On Tue, 10 Jul 2018 18:44:51 +0100 [off-list ref] wrote:
quoted
On Tue, Jul 10, 2018 at 10:27:17AM +0900, Kunihiko Hayashi wrote:
quoted
This isn't *quite* regulator_is_enabled_regmap() as it explicitly checks
if the disable value is set and errors otherwise which would be a good
fix for that.  Could you do a patch for that?
Although I'm worried that the register have a value that is neither
enable_val or disable_val, the "is_enabled" function returns whether
the regulator is enabled or not, so I can apply regulator_is_enabled_regmap().
Yes, I think it's a good thing to add that check - it's possible that
there'll be some other value in there and it's better to be careful.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20180711/9961250d/attachment.sig>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help