mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 21:07:02 +09:00
media: video: tegra: properly drop refs to sclk on cleanup
Change-Id: I7af31dc4cd1e2d7a4142f6265665a05ca4f41d15 Signed-off-by: Dima Zavin <dima@android.com>
This commit is contained in:
@@ -624,6 +624,8 @@ void avp_svc_stop(struct avp_svc_info *avp_svc)
|
||||
pr_info("%s: remote left clock '%s' on\n", __func__,
|
||||
aclk->mod->name);
|
||||
clk_disable(aclk->clk);
|
||||
/* sclk was enabled once for every clock */
|
||||
clk_disable(avp_svc->sclk);
|
||||
}
|
||||
aclk->refcnt = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user