diff options
author | Prashant Gaikwad <pgaikwad@nvidia.com> | 2011-04-26 11:01:32 +0530 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2011-04-29 18:26:22 -0700 |
commit | 44234ba7be2de25ef79b803747064ce54f6dc081 (patch) | |
tree | f3d16267588735f57290fdc12d174c62eb3b066c | |
parent | ee17dca953c7eadc01a221a245a7e95d0fff33ea (diff) |
media: video: tegra: avp: set sclk rate
sclk is shared between usb and avp. usb sets it to 80MHz, hence set sclk rate
to max when avp is running.
Bug 819796
Change-Id: I4e5d28fd83c4f001bb191534d4ee2ccbfadbad25
Reviewed-on: http://git-master/r/28765
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
-rw-r--r-- | drivers/media/video/tegra/avp/avp_svc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/tegra/avp/avp_svc.c b/drivers/media/video/tegra/avp/avp_svc.c index e7554065d368..385ac5eadacf 100644 --- a/drivers/media/video/tegra/avp/avp_svc.c +++ b/drivers/media/video/tegra/avp/avp_svc.c @@ -688,6 +688,7 @@ struct avp_svc_info *avp_svc_init(struct platform_device *pdev, ret = -ENOENT; goto err_get_clks; } + clk_set_rate(avp_svc->sclk, ULONG_MAX); avp_svc->emcclk = clk_get(&pdev->dev, "emc"); if (IS_ERR(avp_svc->emcclk)) { |