Re: [PATCH v2] leds: trigger: fix potential deadlock with libata

2020-12-30 Thread Pavel Machek
Hi! > Apply the same change to led_trigger_blink_setup() as well, since the > same deadlock scenario can also happen in power_supply_update_bat_leds() > -> led_trigger_blink() -> led_trigger_blink_setup() (workqueue context), > and potentially prevent other similar usages. Thanks, applied.

[PATCH v2] leds: trigger: fix potential deadlock with libata

2020-11-25 Thread Andrea Righi
We have the following potential deadlock condition: WARNING: possible irq lock inversion dependency detected 5.10.0-rc2+ #25 Not tainted swapper/3/0 just changed the state of lock