diff options
Diffstat (limited to 'drivers/media/platform/vimc/vimc-streamer.c')
-rw-r--r-- | drivers/media/platform/vimc/vimc-streamer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/vimc/vimc-streamer.c b/drivers/media/platform/vimc/vimc-streamer.c index fcc897fb247b..392754c18046 100644 --- a/drivers/media/platform/vimc/vimc-streamer.c +++ b/drivers/media/platform/vimc/vimc-streamer.c | |||
@@ -120,7 +120,6 @@ static int vimc_streamer_thread(void *data) | |||
120 | int i; | 120 | int i; |
121 | 121 | ||
122 | set_freezable(); | 122 | set_freezable(); |
123 | set_current_state(TASK_UNINTERRUPTIBLE); | ||
124 | 123 | ||
125 | for (;;) { | 124 | for (;;) { |
126 | try_to_freeze(); | 125 | try_to_freeze(); |
@@ -137,6 +136,7 @@ static int vimc_streamer_thread(void *data) | |||
137 | break; | 136 | break; |
138 | } | 137 | } |
139 | //wait for 60hz | 138 | //wait for 60hz |
139 | set_current_state(TASK_UNINTERRUPTIBLE); | ||
140 | schedule_timeout(HZ / 60); | 140 | schedule_timeout(HZ / 60); |
141 | } | 141 | } |
142 | 142 | ||