summaryrefslogtreecommitdiff
path: root/drivers/media/i2c/thp7312.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/i2c/thp7312.c')
-rw-r--r--drivers/media/i2c/thp7312.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/thp7312.c b/drivers/media/i2c/thp7312.c
index 2806887514dc..19bd923a7315 100644
--- a/drivers/media/i2c/thp7312.c
+++ b/drivers/media/i2c/thp7312.c
@@ -1052,7 +1052,7 @@ static int thp7312_s_ctrl(struct v4l2_ctrl *ctrl)
if (ctrl->flags & V4L2_CTRL_FLAG_INACTIVE)
return -EINVAL;
- if (!pm_runtime_get_if_active(thp7312->dev, true))
+ if (!pm_runtime_get_if_active(thp7312->dev))
return 0;
switch (ctrl->id) {