diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2016-09-14 00:16:32 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-10-21 19:34:37 +0200 |
commit | df77542ede76774cfbdc852d0e09b6f800941be1 (patch) | |
tree | fff28d0352a06ad374ad9f8475289aef2df5e3fd /drivers/media/i2c/smiapp | |
parent | [media] smiapp: Drop BUG_ON() in suspend path (diff) | |
download | linux-df77542ede76774cfbdc852d0e09b6f800941be1.tar.xz linux-df77542ede76774cfbdc852d0e09b6f800941be1.zip |
[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>
Diffstat (limited to 'drivers/media/i2c/smiapp')
-rw-r--r-- | drivers/media/i2c/smiapp/smiapp-core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/i2c/smiapp/smiapp-core.c b/drivers/media/i2c/smiapp/smiapp-core.c index 1891c28ca6a4..3ea4f12ecee2 100644 --- a/drivers/media/i2c/smiapp/smiapp-core.c +++ b/drivers/media/i2c/smiapp/smiapp-core.c @@ -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); } |