diff options
Diffstat (limited to 'drivers/w1/w1.c')
-rw-r--r-- | drivers/w1/w1.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/w1/w1.c b/drivers/w1/w1.c index f5c5b760ed7b..c6332108f1c5 100644 --- a/drivers/w1/w1.c +++ b/drivers/w1/w1.c | |||
@@ -805,6 +805,7 @@ static int w1_control(void *data) | |||
805 | struct w1_master *dev, *n; | 805 | struct w1_master *dev, *n; |
806 | int have_to_wait = 0; | 806 | int have_to_wait = 0; |
807 | 807 | ||
808 | set_freezable(); | ||
808 | while (!kthread_should_stop() || have_to_wait) { | 809 | while (!kthread_should_stop() || have_to_wait) { |
809 | have_to_wait = 0; | 810 | have_to_wait = 0; |
810 | 811 | ||