diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2016-11-28 13:42:44 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-01-30 16:34:38 +0300 |
commit | 79ac44c88fd060c5729cdcc0186e0914408b20c8 (patch) | |
tree | 08288064e015b0a6bc75cbdbd26b567a7ef193b0 /drivers/media/platform/omap3isp | |
parent | aa79a84f65b37785ff56b30dc808c88bbc25a91b (diff) | |
download | linux-79ac44c88fd060c5729cdcc0186e0914408b20c8.tar.xz |
[media] omap3isp: Use a local media device pointer instead
The function has a local variable that points to the media device; use
that instead of finding the media device under the entity.
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@s-opensource.com>
Diffstat (limited to 'drivers/media/platform/omap3isp')
-rw-r--r-- | drivers/media/platform/omap3isp/ispvideo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/omap3isp/ispvideo.c b/drivers/media/platform/omap3isp/ispvideo.c index 5b0d16e10aa5..25a8210f0a6d 100644 --- a/drivers/media/platform/omap3isp/ispvideo.c +++ b/drivers/media/platform/omap3isp/ispvideo.c @@ -232,7 +232,7 @@ static int isp_video_get_graph_data(struct isp_video *video, int ret; mutex_lock(&mdev->graph_mutex); - ret = media_graph_walk_init(&graph, entity->graph_obj.mdev); + ret = media_graph_walk_init(&graph, mdev); if (ret) { mutex_unlock(&mdev->graph_mutex); return ret; |