[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190416144412.GF2839@atomide.com>
Date: Tue, 16 Apr 2019 07:44:12 -0700
From: Tony Lindgren <tony@...mide.com>
To: Pavel Machek <pavel@....cz>
Cc: Aaro Koskinen <aaro.koskinen@....fi>, linux-omap@...r.kernel.org,
Janusz Krzysztofik <jmkrzyszt@...il.com>,
Linus Walleij <linus.walleij@...aro.org>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ARM: OMAP1: ams-delta: fix early boot crash when LED
support is disabled
* Pavel Machek <pavel@....cz> [190416 07:14]:
> On Tue 2019-04-16 02:37:32, Aaro Koskinen wrote:
> > When we boot with the LED support (CONFIG_NEW_LEDS) disabled,
> > gpio_led_register_device() will return a NULL pointer and we try
> > to dereference it. Fix by checking also for a NULL pointer.
> >
> > Fixes: 19a2668a8ae3 ("ARM: OMAP1: ams-delta: Provide GPIO lookup table for LED device")
> > Signed-off-by: Aaro Koskinen <aaro.koskinen@....fi>
>
> Acked-by: Pavel Machek <pavel@....cz>
Applying into omap-for-v5.1/fixes thanks.
Tony
Powered by blists - more mailing lists