summaryrefslogtreecommitdiff
path: root/drivers/clk/tegra/clk-tegra114.c
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2015-11-18 15:23:46 +0300
committerThierry Reding <treding@nvidia.com>2015-11-18 16:59:22 +0300
commitc4947e364b5096f00f3cfc0a7af2a4f688ffb919 (patch)
tree2fa93b12332b9be13a16926a4ef8afa831c43707 /drivers/clk/tegra/clk-tegra114.c
parent1d15cb9ce9a220192f672cd32369f8d3c7d3a89b (diff)
downloadlinux-c4947e364b5096f00f3cfc0a7af2a4f688ffb919.tar.xz
clk: tegra: Fix 26 MHz oscillator frequency
The OSC_FREQ field of the OSC_CTRL register uses the value 12 for an oscillator frequency of 26 MHz, not 260 MHz. This isn't really critical because I don't think boards with such an oscillator have ever existed, much less been supported upstream. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/clk/tegra/clk-tegra114.c')
-rw-r--r--drivers/clk/tegra/clk-tegra114.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/tegra/clk-tegra114.c b/drivers/clk/tegra/clk-tegra114.c
index b7d03e9add97..9a50471009d8 100644
--- a/drivers/clk/tegra/clk-tegra114.c
+++ b/drivers/clk/tegra/clk-tegra114.c
@@ -625,7 +625,7 @@ static unsigned long tegra114_input_freq[] = {
[5] = 38400000,
[8] = 12000000,
[9] = 48000000,
- [12] = 260000000,
+ [12] = 26000000,
};
#define MASK(x) (BIT(x) - 1)