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/isppreview.c | |
parent | 2f1fc5efe4a59117001544830c183da1765af86f (diff) | |
download | lwn-e9eb103f027725053a4b02f93d7f2858b56747ce.tar.gz lwn-e9eb103f027725053a4b02f93d7f2858b56747ce.zip |
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/isppreview.c')
-rw-r--r-- | drivers/media/platform/omap3isp/isppreview.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/platform/omap3isp/isppreview.c b/drivers/media/platform/omap3isp/isppreview.c index 40e22400cf5e..97d660606d98 100644 --- a/drivers/media/platform/omap3isp/isppreview.c +++ b/drivers/media/platform/omap3isp/isppreview.c @@ -2225,6 +2225,7 @@ int omap3isp_preview_register_entities(struct isp_prev_device *prev, int ret; /* Register the subdev and video nodes. */ + prev->subdev.dev = vdev->mdev->dev; ret = v4l2_device_register_subdev(vdev, &prev->subdev); if (ret < 0) goto error; |