git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ada314a
)
i2c: geni: fix error message wording in clk_disable
author
Casey Connolly
<casey.connolly@linaro.org>
Mon, 14 Jul 2025 13:13:13 +0000
(15:13 +0200)
committer
Tom Rini
<trini@konsulko.com>
Thu, 30 Oct 2025 17:04:51 +0000
(11:04 -0600)
Correct the error messages so they accurately describe that we failed to
disable the clocks, not to enable them.
Signed-off-by: Casey Connolly <casey.connolly@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link:
https://patch.msgid.link/20250714-geni-load-fw-v5-2-5abbc0d29838@linaro.org
Signed-off-by: Casey Connolly <kcxt@postmarketos.org>
drivers/i2c/geni_i2c.c
patch
|
blob
|
history
diff --git
a/drivers/i2c/geni_i2c.c
b/drivers/i2c/geni_i2c.c
index
eabf5c7
..
4eb41ba
100644
(file)
--- a/
drivers/i2c/geni_i2c.c
+++ b/
drivers/i2c/geni_i2c.c
@@
-331,15
+331,13
@@
static int geni_i2c_disable_clocks(struct udevice *dev, struct geni_i2c_priv *ge
if (geni->is_master_hub) {
ret = clk_disable(&geni->core);
if (ret) {
- dev_err(dev, "clk_enable core failed %d\n", ret);
- return ret;
+ dev_err(dev, "clk_disable core failed %d\n", ret);
}
}
ret = clk_disable(&geni->se);
if (ret) {
- dev_err(dev, "clk_enable se failed %d\n", ret);
- return ret;
+ dev_err(dev, "clk_disable se failed %d\n", ret);
}
return 0;