diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2011-10-11 05:34:40 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-11-03 16:33:48 -0400 |
commit | 083eb07854e128a0ed7d79390baae2439755ebdd (patch) | |
tree | 52a5990123626d83162e92ba555230e1c64c790c /drivers | |
parent | 882cc8539ee73e855a149f99e2166766ce5deb35 (diff) |
[media] omap3isp: Report the ISP revision through the media controller API
Set the media_device::hw_revision field to the ISP revision number.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/omap3isp/isp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/omap3isp/isp.c b/drivers/media/video/omap3isp/isp.c index c8f147ef320d..b818cacf420f 100644 --- a/drivers/media/video/omap3isp/isp.c +++ b/drivers/media/video/omap3isp/isp.c | |||
@@ -1704,6 +1704,7 @@ static int isp_register_entities(struct isp_device *isp) | |||
1704 | isp->media_dev.dev = isp->dev; | 1704 | isp->media_dev.dev = isp->dev; |
1705 | strlcpy(isp->media_dev.model, "TI OMAP3 ISP", | 1705 | strlcpy(isp->media_dev.model, "TI OMAP3 ISP", |
1706 | sizeof(isp->media_dev.model)); | 1706 | sizeof(isp->media_dev.model)); |
1707 | isp->media_dev.hw_revision = isp->revision; | ||
1707 | isp->media_dev.link_notify = isp_pipeline_link_notify; | 1708 | isp->media_dev.link_notify = isp_pipeline_link_notify; |
1708 | ret = media_device_register(&isp->media_dev); | 1709 | ret = media_device_register(&isp->media_dev); |
1709 | if (ret < 0) { | 1710 | if (ret < 0) { |