Re: [PATCH] drivers: gpio: gpio-adp5588: Fix sleep-in-atomic-context bug

From: Michael Hennerich
Date: Mon Sep 03 2018 - 02:57:10 EST


On 29.08.2018 10:55, Linus Walleij wrote:
On Mon, Aug 13, 2018 at 3:53 PM <michael.hennerich@xxxxxxxxxx> wrote:

From: Michael Hennerich <michael.hennerich@xxxxxxxxxx>

This fixes:
[BUG] gpio: gpio-adp5588: A possible sleep-in-atomic-context bug
in adp5588_gpio_write()
[BUG] gpio: gpio-adp5588: A possible sleep-in-atomic-context bug
in adp5588_gpio_direction_input()

Reported-by: Jia-Ju Bai <baijiaju1990@xxxxxxxxx>
Signed-off-by: Michael Hennerich <michael.hennerich@xxxxxxxxxx>

Thanks Michael, excellent and prompt fix. Patch applied
for fixes (v4.19-rcs).

Should we even tag it for stable?

Thanks, Linus - Yes that would make sense.

--
Greetings,
Michael

--
Analog Devices GmbH Otl-Aicher Strasse 60-64 80807 MÃnchen
Sitz der Gesellschaft MÃnchen, Registergericht MÃnchen HRB 40368,
GeschÃftsfÃhrer: Stefan Steyerl, Thomas Edward Cribben, Eileen Wynne