diff options
-rw-r--r-- | drivers/media/video/s5p-fimc/fimc-core.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/media/video/s5p-fimc/fimc-core.c b/drivers/media/video/s5p-fimc/fimc-core.c index 4aaaf1de3a17..f5cbb8a4c540 100644 --- a/drivers/media/video/s5p-fimc/fimc-core.c +++ b/drivers/media/video/s5p-fimc/fimc-core.c | |||
@@ -1784,9 +1784,8 @@ static int fimc_runtime_resume(struct device *dev) | |||
1784 | /* Resume the capture or mem-to-mem device */ | 1784 | /* Resume the capture or mem-to-mem device */ |
1785 | if (fimc_capture_busy(fimc)) | 1785 | if (fimc_capture_busy(fimc)) |
1786 | return fimc_capture_resume(fimc); | 1786 | return fimc_capture_resume(fimc); |
1787 | else if (fimc_m2m_pending(fimc)) | 1787 | |
1788 | return fimc_m2m_resume(fimc); | 1788 | return fimc_m2m_resume(fimc); |
1789 | return 0; | ||
1790 | } | 1789 | } |
1791 | 1790 | ||
1792 | static int fimc_runtime_suspend(struct device *dev) | 1791 | static int fimc_runtime_suspend(struct device *dev) |