From 01f551de7fa4a384027f3f8d9119c45ca9d0fd1a Mon Sep 17 00:00:00 2001 From: Grazvydas Ignotas Date: Sat, 19 Mar 2016 03:28:14 +0200 Subject: [PATCH] leds-twl4030-pwm: fix another race This is a race between twl4030_pwmled_work() reading led->new_brightness vs twl4030_pwmled_brightness() writing to it. Probably needs a proper lock, but we want twl4030_pwmled_brightness() to not block and assume work items come from single queue and should not race each other. --- Reading git-format-patch failed