Thread (47 messages) 47 messages, 8 authors, 2016-03-11

[PATCH v3 12/12] regulator: pwm: properly initialize the ->state field

From: broonie@kernel.org (Mark Brown)
Date: 2015-09-21 21:12:34
Also in: linux-fbdev, linux-leds, linux-pwm, linux-rockchip, lkml

On Mon, Sep 21, 2015 at 11:33:29AM +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: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150921/b202f168/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