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/ispstat.c | |
parent | 2f1fc5efe4a59117001544830c183da1765af86f (diff) | |
download | linux-e9eb103f027725053a4b02f93d7f2858b56747ce.tar.gz linux-e9eb103f027725053a4b02f93d7f2858b56747ce.tar.bz2 linux-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/ispstat.c')
-rw-r--r-- | drivers/media/platform/omap3isp/ispstat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/platform/omap3isp/ispstat.c b/drivers/media/platform/omap3isp/ispstat.c index 62b2eacb96fd..5b9b57f4d9bf 100644 --- a/drivers/media/platform/omap3isp/ispstat.c +++ b/drivers/media/platform/omap3isp/ispstat.c @@ -1026,6 +1026,8 @@ void omap3isp_stat_unregister_entities(struct ispstat *stat) int omap3isp_stat_register_entities(struct ispstat *stat, struct v4l2_device *vdev) { + stat->subdev.dev = vdev->mdev->dev; + return v4l2_device_register_subdev(vdev, &stat->subdev); } |