Re: [PATCH v1] leds: pca9532: correct shift computation in pca9532_getled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue 2020-09-22 21:28:35, Markus Moll wrote:
> Each led setting occupies two bits in a corresponding led register.
> Accessing these bits requires shifting and masking, which was
> implemented incorrectly in pca9532_getled. Two new helper macros
> concentrate the computation of those masks in one place.
> 
> Signed-off-by: Markus Moll <mmoll@xxxxxxxxxxxxxxxxxxxx>

Thanks, applied.

Note that default-state = keep should _not_ be supported unless
someone needs it.

Best regards,
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux