Message ID | 20221104142452.117135-9-jacopo@jmondi.org |
---|---|
State | Accepted |
Commit | c79f0f15db3c7f2e047f78647a4c2561d9820fc8 |
Headers | show |
Series | media: ar0521: Add analog gain, rework clock tree | expand |
diff --git a/drivers/media/i2c/ar0521.c b/drivers/media/i2c/ar0521.c index 0ef4acac1bd3..323f583e2029 100644 --- a/drivers/media/i2c/ar0521.c +++ b/drivers/media/i2c/ar0521.c @@ -399,7 +399,7 @@ static int ar0521_set_stream(struct ar0521_dev *sensor, bool on) if (ret) goto err; - ret = ar0521_set_gains(sensor); + ret = __v4l2_ctrl_handler_setup(&sensor->ctrls.handler); if (ret) goto err;