aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu.vizoso@collabora.com>2014-09-30 03:22:00 -0400
committerPeter De Schrijver <pdeschrijver@nvidia.com>2015-02-02 08:47:04 -0500
commitca036b261c866e4771068d48df627cafac52d353 (patch)
tree6e8762d5607429a29a4d6f09572094da43bb60b1 /drivers/clk
parentf892f24b37345181b9bc7748ed4a8e927cdb6e06 (diff)
clk: tegra: Fix order of arguments in WARN
As previously the names of the present clock and its parent were swapped. Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Diffstat (limited to 'drivers/clk')
-rw-r--r--drivers/clk/tegra/clk-pll.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/clk/tegra/clk-pll.c b/drivers/clk/tegra/clk-pll.c
index c7c6d8fb32fb..fd18d2e30c4c 100644
--- a/drivers/clk/tegra/clk-pll.c
+++ b/drivers/clk/tegra/clk-pll.c
@@ -1565,7 +1565,7 @@ struct clk *tegra_clk_register_pllxc(const char *name, const char *parent_name,
1565 parent = __clk_lookup(parent_name); 1565 parent = __clk_lookup(parent_name);
1566 if (!parent) { 1566 if (!parent) {
1567 WARN(1, "parent clk %s of %s must be registered first\n", 1567 WARN(1, "parent clk %s of %s must be registered first\n",
1568 name, parent_name); 1568 parent_name, name);
1569 return ERR_PTR(-EINVAL); 1569 return ERR_PTR(-EINVAL);
1570 } 1570 }
1571 1571
@@ -1665,7 +1665,7 @@ struct clk *tegra_clk_register_pllm(const char *name, const char *parent_name,
1665 parent = __clk_lookup(parent_name); 1665 parent = __clk_lookup(parent_name);
1666 if (!parent) { 1666 if (!parent) {
1667 WARN(1, "parent clk %s of %s must be registered first\n", 1667 WARN(1, "parent clk %s of %s must be registered first\n",
1668 name, parent_name); 1668 parent_name, name);
1669 return ERR_PTR(-EINVAL); 1669 return ERR_PTR(-EINVAL);
1670 } 1670 }
1671 1671
@@ -1706,7 +1706,7 @@ struct clk *tegra_clk_register_pllc(const char *name, const char *parent_name,
1706 parent = __clk_lookup(parent_name); 1706 parent = __clk_lookup(parent_name);
1707 if (!parent) { 1707 if (!parent) {
1708 WARN(1, "parent clk %s of %s must be registered first\n", 1708 WARN(1, "parent clk %s of %s must be registered first\n",
1709 name, parent_name); 1709 parent_name, name);
1710 return ERR_PTR(-EINVAL); 1710 return ERR_PTR(-EINVAL);
1711 } 1711 }
1712 1712
@@ -1830,7 +1830,7 @@ struct clk *tegra_clk_register_pllss(const char *name, const char *parent_name,
1830 parent = __clk_lookup(parent_name); 1830 parent = __clk_lookup(parent_name);
1831 if (!parent) { 1831 if (!parent) {
1832 WARN(1, "parent clk %s of %s must be registered first\n", 1832 WARN(1, "parent clk %s of %s must be registered first\n",
1833 name, parent_name); 1833 parent_name, name);
1834 return ERR_PTR(-EINVAL); 1834 return ERR_PTR(-EINVAL);
1835 } 1835 }
1836 1836