summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/media/i2c/ov2680.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/ov2680.c b/drivers/media/i2c/ov2680.c
index 8e9d75972dae..b7ae5cd1930a 100644
--- a/drivers/media/i2c/ov2680.c
+++ b/drivers/media/i2c/ov2680.c
@@ -18,7 +18,6 @@
#include <linux/module.h>
#include <linux/of_device.h>
#include <linux/of_gpio.h>
-#include <linux/of_graph.h>
#include <media/v4l2-common.h>
#include <media/v4l2-ctrls.h>
@@ -546,6 +545,7 @@ static int ov2680_mode_set(struct ov2680_dev *sensor)
if (ret < 0)
return ret;
+ sensor->mode_pending_changes = false;
return 0;
}