diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2019-08-07 11:19:00 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-08-15 08:06:34 -0300 |
commit | e9eb103f027725053a4b02f93d7f2858b56747ce (patch) | |
tree | 5821df0a4b1e4ea108bf998bd499000cdc9c9a3b /drivers/media/platform/omap3isp/ispcsi2.c | |
parent | 2f1fc5efe4a59117001544830c183da1765af86f (diff) | |
download | linux-e9eb103f027725053a4b02f93d7f2858b56747ce.tar.bz2 |
media: omap3isp: Set device on omap3isp subdevs
The omap3isp driver registered subdevs without the dev field being set. Do
that now.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/platform/omap3isp/ispcsi2.c')
-rw-r--r-- | drivers/media/platform/omap3isp/ispcsi2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/platform/omap3isp/ispcsi2.c b/drivers/media/platform/omap3isp/ispcsi2.c index e85917f4a50c..fd493c5e4e24 100644 --- a/drivers/media/platform/omap3isp/ispcsi2.c +++ b/drivers/media/platform/omap3isp/ispcsi2.c @@ -1198,6 +1198,7 @@ int omap3isp_csi2_register_entities(struct isp_csi2_device *csi2, int ret; /* Register the subdev and video nodes. */ + csi2->subdev.dev = vdev->mdev->dev; ret = v4l2_device_register_subdev(vdev, &csi2->subdev); if (ret < 0) goto error; |