ISP,
};
+const static char *roles[] = {
+ "decode",
+ "encode",
+ "isp"
+};
+
static const char * const components[] = {
"ril.video_decode",
"ril.video_encode",
struct video_device *vfd;
int video_nr;
int ret;
- const static char *roles[] = {"decode", "encode", "isp"};
dev = devm_kzalloc(&pdev->dev, sizeof(*dev), GFP_KERNEL);
if (!dev)
if (!dev)
return -ENODEV;
- v4l2_info(&dev->v4l2_dev, "Removing " MEM2MEM_NAME);
+ v4l2_info(&dev->v4l2_dev, "Removing " MEM2MEM_NAME ", %s\n",
+ roles[dev->role]);
v4l2_m2m_release(dev->m2m_dev);
video_unregister_device(&dev->vfd);
v4l2_device_unregister(&dev->v4l2_dev);