[media] cafe_ccic: fix subdev configuration

For some reason, commit 1aafeb30104a is missing one change that was
included in the email submission.

The sensor configuration must be passed down to the ov7670 subdev.

Signed-off-by: Daniel Drake <dsd@laptop.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

authored by Daniel Drake and committed by Mauro Carvalho Chehab 399d8465 35bbe587

+3 -2
+3 -2
drivers/media/video/cafe_ccic.c
··· 2065 2065 sensor_cfg.clock_speed = 45; 2066 2066 2067 2067 cam->sensor_addr = 0x42; 2068 - cam->sensor = v4l2_i2c_new_subdev(&cam->v4l2_dev, &cam->i2c_adapter, 2069 - NULL, "ov7670", cam->sensor_addr, NULL); 2068 + cam->sensor = v4l2_i2c_new_subdev_cfg(&cam->v4l2_dev, &cam->i2c_adapter, 2069 + "ov7670", "ov7670", 0, &sensor_cfg, cam->sensor_addr, 2070 + NULL); 2070 2071 if (cam->sensor == NULL) { 2071 2072 ret = -ENODEV; 2072 2073 goto out_smbus;