diff options
Diffstat (limited to 'drivers/video/tegra/host/nvhost_acm.c')
-rw-r--r-- | drivers/video/tegra/host/nvhost_acm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/tegra/host/nvhost_acm.c b/drivers/video/tegra/host/nvhost_acm.c index 5fb062df8fcf..e3df71c3d357 100644 --- a/drivers/video/tegra/host/nvhost_acm.c +++ b/drivers/video/tegra/host/nvhost_acm.c @@ -485,7 +485,9 @@ int nvhost_module_get_rate(struct nvhost_module *mod, unsigned long *rate, if (IS_ERR_OR_NULL(c)) return -EINVAL; + nvhost_module_busy(mod); *rate = clk_get_rate(c); + nvhost_module_idle(mod); return 0; } |