Skip to contentSkip to conversation

clk: Fix error message in clk_get_bulk

PATCH In review Jan Kiszka 4 participants 4 messages Mar 9, 2024 – Aug 2, 2024 Common clk

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 clk: Fix error message in clk_get_bulk

From: Jan Kiszka <[email protected]>

Fix a logical inversion of the printed text.

---
 drivers/clk/clk-uclass.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/clk-uclass.c +1 -1
index ed6e60bc484..78d8ea94c65 100644
@@ -180,7 +180,7 @@ int clk_get_bulk(struct udevice *dev, struct clk_bulk *bulk)
 bulk_get_err:
 	err = clk_release_all(bulk->clks, bulk->count);
 	if (err)
-		debug("%s: could release all clocks for %p\n",
+		debug("%s: could not release all clocks for %p\n",
 		      __func__, dev);
 
 	return ret;
Signature · 1 line
2.35.3
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Jan Kiszka

From: Jan Kiszka <[email protected]>

Fix a logical inversion of the printed text.

---

Quoted 18 lines
 drivers/clk/clk-uclass.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/clk-uclass.c +1 -2
index ed6e60bc484..78d8ea94c65 100644
@@ -180,7 +180,7 @@ int clk_get_bulk(struct udevice *dev, struct clk_bulk *bulk)
 bulk_get_err:
        err = clk_release_all(bulk->clks, bulk->count);
        if (err)
-               debug("%s: could release all clocks for %p\n",
+               debug("%s: could not release all clocks for %p\n",
                      __func__, dev);
 
        return ret;
--

2.35.3

Reviewed-by on v1 1/1
#2 lore raw
In reply to Jan Kiszka
Quoted 14 lines · Jan Kiszka

From: Jan Kiszka <[email protected]>

Fix a logical inversion of the printed text.

---
  drivers/clk/clk-uclass.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/clk-uclass.c +0 -0
index ed6e60bc484..78d8ea94c65 100644

drivers/clk/clk-uclass.c int clk_get_bulk(struct udevice *dev, struct clk_bulk *bulk) · line 186

Quoted 8 lines
drivers/clk/clk-uclass.c +1 -1
@@ -180,7 +180,7 @@ int clk_get_bulk(struct udevice *dev, struct clk_bulk *bulk)
  bulk_get_err:
  	err = clk_release_all(bulk->clks, bulk->count);
  	if (err)
-		debug("%s: could release all clocks for %p\n",
+		debug("%s: could not release all clocks for %p\n",
  		      __func__, dev);
 
  	return ret;
#3 lore raw
In reply to Jan Kiszka
Quoted 3 lines · Jan Kiszka

Fix a logical inversion of the printed text.

Applied to u-boot/master, thanks!

Signature · 1 line
Tom