sensor: als sensor tsl2583 timer protection

The mod_timer might be called the workqueue handler, and also
from the power_enable sys nodes, they might collide.

The fix is to protect again this collision.

Change-Id: Iae939ab1fe4dfdf9b1fb1c75d19ebfe146ae9dcd
Signed-off-by: Hu Bingquan <>
Reviewed-by: jenkins_ndg <>
Reviewed-by: Nassiet, GaelleX <>
Reviewed-by: Rouis, KhalifaX <>
Reviewed-by: Dubray, SimonX <>
Reviewed-by: Ledentec, AlexandreX <>
Reviewed-by: Lachaud, EtienneX <>
Reviewed-by: Tasayco Loarte, VictorX <>
1 file changed