diff options
author | Wojciech Bieganski <wbieganski@antmicro.com> | 2014-04-03 11:25:15 +0200 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2014-04-04 21:59:13 +0200 |
commit | 4626241ad0e4e83c92ad8c5f2f50d713afeb8b4f (patch) | |
tree | 9e75b35ae721f1597a2f6b9d7eed38caf0479846 /drivers | |
parent | 1cc39f2be8591a0b1d827bc4a1b2a3caaf3d2b65 (diff) |
media: a quick fix to make tegra_v4l2_camera module reloadable
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/tegra_v4l2_camera.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/tegra_v4l2_camera.c b/drivers/media/video/tegra_v4l2_camera.c index 27b966a424f9..c222048b59d4 100644 --- a/drivers/media/video/tegra_v4l2_camera.c +++ b/drivers/media/video/tegra_v4l2_camera.c @@ -2059,6 +2059,8 @@ static int __devexit tegra_camera_remove(struct nvhost_device *ndev) pm_runtime_disable(&ndev->dev); + regulator_put(pcdev->reg); + nvhost_client_device_put_resources(ndev); clk_put(pcdev->clk_csus); |