Re: [PATCH] leds: gpio: Fix semantic error

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

 



On Fri 2020-07-03 20:13:38, Linus Walleij wrote:
> The leds-gpio driver mixes up the legacy GPIO flags with the
> GPIO descriptor flags and passes a legacy flag to
> devm_gpiod_get_index().
> 
> Fix this by replacing the flags variable with the strict
> descriptor flag.
> 
> Fixes: 45d4c6de4e49 ("leds: gpio: Try to lookup gpiod from device")
> Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

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

Attachment: signature.asc
Description: Digital 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