|
@@ -491,8 +491,7 @@ static int fimc_lite_close(struct file *file)
|
|
struct fimc_lite *fimc = video_drvdata(file);
|
|
struct fimc_lite *fimc = video_drvdata(file);
|
|
int ret;
|
|
int ret;
|
|
|
|
|
|
- if (mutex_lock_interruptible(&fimc->lock))
|
|
|
|
- return -ERESTARTSYS;
|
|
|
|
|
|
+ mutex_lock(&fimc->lock);
|
|
|
|
|
|
if (--fimc->ref_count == 0 && fimc->out_path == FIMC_IO_DMA) {
|
|
if (--fimc->ref_count == 0 && fimc->out_path == FIMC_IO_DMA) {
|
|
clear_bit(ST_FLITE_IN_USE, &fimc->state);
|
|
clear_bit(ST_FLITE_IN_USE, &fimc->state);
|