Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

media: ar0521: Setup controls at s_stream time

Setup all the registered controls at s_stream(1) time instead of
manually configure gains.

Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>

authored by

Jacopo Mondi and committed by
Mauro Carvalho Chehab
c79f0f15 64114626

+1 -1
+1 -1
drivers/media/i2c/ar0521.c
··· 399 399 if (ret) 400 400 goto err; 401 401 402 - ret = ar0521_set_gains(sensor); 402 + ret = __v4l2_ctrl_handler_setup(&sensor->ctrls.handler); 403 403 if (ret) 404 404 goto err; 405 405