diff options
Diffstat (limited to 'drivers/media/video/msp3400.c')
-rw-r--r-- | drivers/media/video/msp3400.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/media/video/msp3400.c b/drivers/media/video/msp3400.c index 6239254db27e..62f1b8ddb98b 100644 --- a/drivers/media/video/msp3400.c +++ b/drivers/media/video/msp3400.c | |||
@@ -741,11 +741,9 @@ static int msp34xx_sleep(struct msp3400c *msp, int timeout) | |||
741 | schedule_timeout(msecs_to_jiffies(timeout)); | 741 | schedule_timeout(msecs_to_jiffies(timeout)); |
742 | } | 742 | } |
743 | } | 743 | } |
744 | if (current->flags & PF_FREEZE) { | ||
745 | refrigerator (); | ||
746 | } | ||
747 | 744 | ||
748 | remove_wait_queue(&msp->wq, &wait); | 745 | remove_wait_queue(&msp->wq, &wait); |
746 | try_to_freeze(); | ||
749 | return msp->restart; | 747 | return msp->restart; |
750 | } | 748 | } |
751 | 749 | ||