[media] smiapp: Set device for pixel array and binner

The dev field of the v4l2_subdev was left NULL for the pixel array and
binner sub-devices. Fix this.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
Sakari Ailus 2016-09-13 19:16:32 -03:00 committed by Mauro Carvalho Chehab
parent 88b3e311b5
commit df77542ede
1 changed files with 1 additions and 0 deletions

View File

@ -2610,6 +2610,7 @@ static void smiapp_create_subdev(struct smiapp_sensor *sensor,
ssd->sd.internal_ops = &smiapp_internal_ops;
ssd->sd.owner = THIS_MODULE;
ssd->sd.dev = &client->dev;
v4l2_set_subdevdata(&ssd->sd, client);
}