summaryrefslogtreecommitdiffstats
path: root/meta-vib3-extras/recipes/linux/linux-nvidia/Fix_compiler_error_in_tegra12_lock.patch
blob: fc8fe9f347ff79b2b83af9dea1410ff1444422ca (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/drivers/platform/tegra/tegra12_clocks.c	2016-04-19 13:51:34.912235128 +0300
+++ b/drivers/platform/tegra/tegra12_clocks.c	2016-04-19 13:51:55.739478254 +0300
@@ -1331,7 +1331,7 @@
  */
 static void tegra12_cpu_clk_init(struct clk *c)
 {
-	c->state = (!is_lp_cluster() == (c->u.cpu.mode == MODE_G))? ON : OFF;
+	c->state = ((!is_lp_cluster()) == (c->u.cpu.mode == MODE_G))? ON : OFF;
 }
 
 static int tegra12_cpu_clk_enable(struct clk *c)