aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorJoshua Scott <[email protected]>2016-09-09 17:19:26 +1200
committerGuenter Roeck <[email protected]>2016-09-10 16:21:09 -0700
commit93cacfd41f82eea00b420d62e29a493ca3d07b74 (patch)
treef8fde6c4b864e7e1baaa8f83458a8bebf212996f /scripts/patch-kernel
parentfeca3132d9fd9822a28f67c25051efd468174de8 (diff)
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 <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions