Commit b74bee15 authored by Sylwester Nawrocki's avatar Sylwester Nawrocki Committed by Mauro Carvalho Chehab

[media] exynos4-is: Add missing v4l2_device_unregister() call in fimc_md_remove()

Signed-off-by: default avatarSylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent fdb49827
...@@ -1544,6 +1544,8 @@ static int fimc_md_remove(struct platform_device *pdev) ...@@ -1544,6 +1544,8 @@ static int fimc_md_remove(struct platform_device *pdev)
if (!fmd) if (!fmd)
return 0; return 0;
v4l2_device_unregister(&fmd->v4l2_dev);
device_remove_file(&pdev->dev, &dev_attr_subdev_conf_mode); device_remove_file(&pdev->dev, &dev_attr_subdev_conf_mode);
fimc_md_unregister_entities(fmd); fimc_md_unregister_entities(fmd);
fimc_md_pipelines_free(fmd); fimc_md_pipelines_free(fmd);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment