[PATCH 3/3] ARM: exynos: pinmux: add newlines to debug messages

Henrik Grimler henrik at grimler.se
Fri Aug 22 20:54:40 CEST 2025


To make stdout messages easier to read and understand.

Signed-off-by: Henrik Grimler <henrik at grimler.se>
---
 arch/arm/mach-exynos/pinmux.c | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/arch/arm/mach-exynos/pinmux.c b/arch/arm/mach-exynos/pinmux.c
index bd82e1ac750d8b5b7dc1e2e02324ded3009f93d4..ed46ea033558149d261cffea59a777a86215a5ed 100644
--- a/arch/arm/mach-exynos/pinmux.c
+++ b/arch/arm/mach-exynos/pinmux.c
@@ -32,7 +32,7 @@ static void exynos5_uart_config(int peripheral)
 		count = 2;
 		break;
 	default:
-		debug("%s: invalid peripheral %d", __func__, peripheral);
+		debug("%s: invalid peripheral %d\n", __func__, peripheral);
 		return;
 	}
 	for (i = start; i < start + count; i++) {
@@ -63,7 +63,7 @@ static void exynos5420_uart_config(int peripheral)
 		count = 2;
 		break;
 	default:
-		debug("%s: invalid peripheral %d", __func__, peripheral);
+		debug("%s: invalid peripheral %d\n", __func__, peripheral);
 		return;
 	}
 
@@ -97,11 +97,11 @@ static int exynos5_mmc_config(int peripheral, int flags)
 		start_ext = 0;
 		break;
 	default:
-		debug("%s: invalid peripheral %d", __func__, peripheral);
+		debug("%s: invalid peripheral %d\n", __func__, peripheral);
 		return -1;
 	}
 	if ((flags & PINMUX_FLAG_8BIT_MODE) && !start_ext) {
-		debug("SDMMC device %d does not support 8bit mode",
+		debug("SDMMC device %d does not support 8bit mode\n",
 		      peripheral);
 		return -1;
 	}
@@ -145,12 +145,12 @@ static int exynos5420_mmc_config(int peripheral, int flags)
 		break;
 	default:
 		start = 0;
-		debug("%s: invalid peripheral %d", __func__, peripheral);
+		debug("%s: invalid peripheral %d\n", __func__, peripheral);
 		return -1;
 	}
 
 	if ((flags & PINMUX_FLAG_8BIT_MODE) && !start_ext) {
-		debug("SDMMC device %d does not support 8bit mode",
+		debug("SDMMC device %d does not support 8bit mode\n",
 		      peripheral);
 		return -1;
 	}
@@ -453,7 +453,7 @@ void exynos5420_spi_config(int peripheral)
 	default:
 		cfg = 0;
 		pin = 0;
-		debug("%s: invalid peripheral %d", __func__, peripheral);
+		debug("%s: invalid peripheral %d\n", __func__, peripheral);
 		return;
 	}
 
@@ -522,7 +522,7 @@ static int exynos5_pinmux_config(int peripheral, int flags)
 		gpio_cfg_pin(EXYNOS5_GPIO_B20, S5P_GPIO_FUNC(2));
 		break;
 	default:
-		debug("%s: invalid peripheral %d", __func__, peripheral);
+		debug("%s: invalid peripheral %d\n", __func__, peripheral);
 		return -1;
 	}
 
@@ -570,7 +570,7 @@ static int exynos5420_pinmux_config(int peripheral, int flags)
 		gpio_cfg_pin(EXYNOS5420_GPIO_B20, S5P_GPIO_FUNC(2));
 		break;
 	default:
-		debug("%s: invalid peripheral %d", __func__, peripheral);
+		debug("%s: invalid peripheral %d\n", __func__, peripheral);
 		return -1;
 	}
 
@@ -683,7 +683,7 @@ static void exynos4_uart_config(int peripheral)
 		count = 2;
 		break;
 	default:
-		debug("%s: invalid peripheral %d", __func__, peripheral);
+		debug("%s: invalid peripheral %d\n", __func__, peripheral);
 		return;
 	}
 	for (i = start; i < (start + count); i++) {
@@ -797,7 +797,7 @@ static void exynos4x12_uart_config(int peripheral)
 		count = 2;
 		break;
 	default:
-		debug("%s: invalid peripheral %d", __func__, peripheral);
+		debug("%s: invalid peripheral %d\n", __func__, peripheral);
 		return;
 	}
 	for (i = start; i < (start + count); i++) {
@@ -834,7 +834,7 @@ static int exynos4_pinmux_config(int peripheral, int flags)
 		debug("SDMMC device %d not implemented\n", peripheral);
 		return -1;
 	default:
-		debug("%s: invalid peripheral %d", __func__, peripheral);
+		debug("%s: invalid peripheral %d\n", __func__, peripheral);
 		return -1;
 	}
 
@@ -869,7 +869,7 @@ static int exynos4x12_pinmux_config(int peripheral, int flags)
 		debug("SDMMC device %d not implemented\n", peripheral);
 		return -1;
 	default:
-		debug("%s: invalid peripheral %d", __func__, peripheral);
+		debug("%s: invalid peripheral %d\n", __func__, peripheral);
 		return -1;
 	}
 

-- 
2.50.1



More information about the U-Boot mailing list