diff options
author | Prashant Gaikwad <pgaikwad@nvidia.com> | 2011-04-26 11:01:32 +0530 |
---|---|---|
committer | Niket Sirsi <nsirsi@nvidia.com> | 2011-05-06 20:24:27 -0700 |
commit | e6afc94c9bb6ee865a9dc2d546e792cc87ec407f (patch) | |
tree | 7c7aa6d93261b6833adea41c17701aae614d9190 /drivers | |
parent | 1472c0434b00276ccbe13ac115fc0a58c5fbf253 (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
Reviewed-on: http://git-master/r/28765
(cherry picked from commit 44234ba7be2de25ef79b803747064ce54f6dc081)
Change-Id: Iea5c785da0aff69f61c82f7e67356d93ead1d994
Reviewed-on: http://git-master/r/30314
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Diffstat (limited to 'drivers')
-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 208ff8c4fdc2..b93fe96cce32 100644 --- a/drivers/media/video/tegra/avp/avp_svc.c +++ b/drivers/media/video/tegra/avp/avp_svc.c @@ -686,6 +686,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)) { |