Home
last modified time | relevance | path

Searched hist:"93 cacfd41f82eea00b420d62e29a493ca3d07b74" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/hwmon/
H A Dadt7470.cdiff 93cacfd41f82eea00b420d62e29a493ca3d07b74 Fri Sep 09 07:19:26 CEST 2016 Joshua Scott <joshua.scott@alliedtelesis.co.nz> hwmon: (adt7470) Allow faster removal

adt7470_remove will wait for the update thread to complete before
returning. This had a worst-case time of up to the user-configurable
auto_update_interval.

Replace msleep_interruptible with set_current_state and schedule_timeout
so that kthread_stop will interrupt the sleep.

Signed-off-by: Joshua Scott <joshua.scott@alliedtelesis.co.nz>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>