Thread (27 messages) 27 messages, 5 authors, 2016-07-11

[PATCH v3 11/14] regulator: pwm: Properly initialize the ->state field

From: broonie@kernel.org (Mark Brown)
Date: 2016-07-05 14:32:20
Also in: linux-devicetree, linux-pwm, linux-rockchip, lkml

On Tue, Jun 14, 2016 at 11:13:19AM +0200, Boris Brezillon wrote:
The ->state field is currently initialized to 0, thus referencing the
voltage selector at index 0, which might not reflect the current
voltage value.
If possible, retrieve the current voltage selector from the PWM state,
else return -EINVAL.
Acked-by: Mark Brown <broonie@kernel.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160705/42b0fc2e/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