summarylogtreecommitdiffstats
path: root/clk-uclass-log_ret.patch
blob: 624bc07e8f8973239530bed5a287e8d4046a38cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff -Naur a/drivers/clk/clk-uclass.c b/drivers/clk/clk-uclass.c
--- a/drivers/clk/clk-uclass.c	2021-09-04 14:06:27.036885707 +0200
+++ b/drivers/clk/clk-uclass.c	2021-09-04 14:06:08.405490429 +0200
@@ -512,11 +512,14 @@
 	if (!ops->get_rate)
 		return -ENOSYS;
 
+	return ops->get_rate(clk);
+/*
 	ret = ops->get_rate(clk);
 	if (ret)
 		return log_ret(ret);
 
 	return 0;
+*/
 }
 
 struct clk *clk_get_parent(struct clk *clk)