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

Mark Brown broonie at kernel.org
Tue Jul 5 07:31:35 PDT 2016

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 at 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-rockchip/attachments/20160705/42b0fc2e/attachment-0001.sig>

More information about the Linux-rockchip mailing list