aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cafe_ccic.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/cafe_ccic.c')
-rw-r--r--drivers/media/video/cafe_ccic.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/media/video/cafe_ccic.c b/drivers/media/video/cafe_ccic.c
index 0dfff50891e4..737bb877e962 100644
--- a/drivers/media/video/cafe_ccic.c
+++ b/drivers/media/video/cafe_ccic.c
@@ -2186,9 +2186,7 @@ static int cafe_pci_resume(struct pci_dev *pdev)
2186 struct cafe_camera *cam = to_cam(v4l2_dev); 2186 struct cafe_camera *cam = to_cam(v4l2_dev);
2187 int ret = 0; 2187 int ret = 0;
2188 2188
2189 ret = pci_restore_state(pdev); 2189 pci_restore_state(pdev);
2190 if (ret)
2191 return ret;
2192 ret = pci_enable_device(pdev); 2190 ret = pci_enable_device(pdev);
2193 2191
2194 if (ret) { 2192 if (ret) {