[PATCH] leds: mt6323: move period calculation

Pavel Machek pavel at ucw.cz
Sun Aug 9 18:33:02 EDT 2020


Hi!

> Setting the delay_on/off means period needs to be recalculated
> anyway.  So move the period statements after this check.
> 
> Fixes: 216ec6cc4c19 ("leds: Add LED support for MT6323 PMIC")

Makes sense, thanks, applied.

Best regards,
							Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mediatek/attachments/20200810/5c3e68ff/attachment.sig>


More information about the Linux-mediatek mailing list