mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-02 13:26:39 +07:00
[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>
This commit is contained in:
parent
882cc8539e
commit
083eb07854
@ -1704,6 +1704,7 @@ static int isp_register_entities(struct isp_device *isp)
|
||||
isp->media_dev.dev = isp->dev;
|
||||
strlcpy(isp->media_dev.model, "TI OMAP3 ISP",
|
||||
sizeof(isp->media_dev.model));
|
||||
isp->media_dev.hw_revision = isp->revision;
|
||||
isp->media_dev.link_notify = isp_pipeline_link_notify;
|
||||
ret = media_device_register(&isp->media_dev);
|
||||
if (ret < 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user