Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] gpio: nomadik: silence boot log
@ 2026-07-01 16:56 Théo Lebrun
  2026-07-01 16:56 ` [PATCH 1/5] gpio: nomadik: convert nmk_gpio_populate_chip() to goto cleanup Théo Lebrun
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Théo Lebrun @ 2026-07-01 16:56 UTC (permalink / raw)
  To: Linus Walleij, Bartosz Golaszewski, Philipp Zabel
  Cc: Vladimir Kondratiev, Gregory CLEMENT, Benoît Monin,
	Tawfik Bayouk, Thomas Petazzoni, linux-arm-kernel, linux-gpio,
	linux-kernel, Théo Lebrun

Currently, on EyeQ5, we might get those error logs:

[    0.544230] nomadik-gpio 1400000.gpio: failed getting reset control: -EPROBE_DEFER
[    0.544274] nomadik-gpio 1400000.gpio: could not populate nmk chip struct

Then on successful probe we get:

[    0.976838] nomadik-gpio 1400000.gpio: chip registered

First line is because we don't use the appropriate dev_err_probe()
helper. Second line is redundant to populate chip dev_err() calls and
shall be dropped. Third line should be dropped.

That's done in patches 3+4+5. Patches 1+2 prepare the terrain.

Have a nice day,
Théo

Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
---
Théo Lebrun (5):
      gpio: nomadik: convert nmk_gpio_populate_chip() to goto cleanup
      gpio: nomadik: add missing dev_err() call on chip populate failure
      gpio: nomadik: drop duplicate probe error line
      gpio: nomadik: use dev_err_probe()
      gpio: nomadik: drop "chip registered" log on probe success

 drivers/gpio/gpio-nomadik.c | 64 ++++++++++++++++++++++-----------------------
 1 file changed, 32 insertions(+), 32 deletions(-)
---
base-commit: dc59e4fea9d83f03bad6bddf3fa2e52491777482
change-id: 20260701-gpio-nomadik-silent-678abaee1e3e

Best regards,
--  
Théo Lebrun <theo.lebrun@bootlin.com>



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2026-07-02  8:34 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-01 16:56 [PATCH 0/5] gpio: nomadik: silence boot log Théo Lebrun
2026-07-01 16:56 ` [PATCH 1/5] gpio: nomadik: convert nmk_gpio_populate_chip() to goto cleanup Théo Lebrun
2026-07-02  7:58   ` Linus Walleij
2026-07-01 16:56 ` [PATCH 2/5] gpio: nomadik: add missing dev_err() call on chip populate failure Théo Lebrun
2026-07-02  7:58   ` Linus Walleij
2026-07-01 16:57 ` [PATCH 3/5] gpio: nomadik: drop duplicate probe error line Théo Lebrun
2026-07-02  7:59   ` Linus Walleij
2026-07-01 16:57 ` [PATCH 4/5] gpio: nomadik: use dev_err_probe() Théo Lebrun
2026-07-02  7:59   ` Linus Walleij
2026-07-01 16:57 ` [PATCH 5/5] gpio: nomadik: drop "chip registered" log on probe success Théo Lebrun
2026-07-02  8:00   ` Linus Walleij
2026-07-02  8:34     ` Théo Lebrun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox