[PATCH] V4L: Miscellaneous fixes
[linux-block.git] / drivers / media / video / msp3400.c
index 6239254db27ef79507e0e13bc807874bdc489b6f..62f1b8ddb98b8bc153602271c7d84337c6e67efe 100644 (file)
@@ -741,11 +741,9 @@ static int msp34xx_sleep(struct msp3400c *msp, int timeout)
                        schedule_timeout(msecs_to_jiffies(timeout));
                }
        }
-       if (current->flags & PF_FREEZE) {
-               refrigerator ();
-       }
 
        remove_wait_queue(&msp->wq, &wait);
+       try_to_freeze();
        return msp->restart;
 }