mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] drm/panel: ltk050h3146w: error-path debug message improvements
@ 2024-01-04 12:41 Quentin Schulz
  2024-01-04 12:41 ` [PATCH 1/2] drm/panel: ltk050h3146w: only print message when GPIO getting is not EPROBE_DEFER Quentin Schulz
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Quentin Schulz @ 2024-01-04 12:41 UTC (permalink / raw)
  To: Neil Armstrong, Jessica Zhang, Sam Ravnborg, Maarten Lankhorst,
	Maxime Ripard, Thomas Zimmermann, David Airlie, Daniel Vetter
  Cc: Quentin Schulz, Heiko Stuebner, dri-devel, linux-kernel, Quentin Schulz

This hides an error message if EPROBE_DEFER was returned when trying to
get the reset GPIO.

This also makes use of dev_err_probe in lieu of hand-crafted logic
inside the driver.

Thanks,
Quentin

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
---
Quentin Schulz (2):
      drm/panel: ltk050h3146w: only print message when GPIO getting is not EPROBE_DEFER
      drm/panel: ltk050h3146w: use dev_err_probe wherever possible

 drivers/gpu/drm/panel/panel-leadtek-ltk050h3146w.c | 23 +++++++---------------
 1 file changed, 7 insertions(+), 16 deletions(-)
---
base-commit: ac865f00af293d081356bec56eea90815094a60e
change-id: 20240104-ltk-dev_err_probe-3c93c1b09242

Best regards,
-- 
Quentin Schulz <quentin.schulz@theobroma-systems.com>


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

end of thread, other threads:[~2024-01-04 16:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-04 12:41 [PATCH 0/2] drm/panel: ltk050h3146w: error-path debug message improvements Quentin Schulz
2024-01-04 12:41 ` [PATCH 1/2] drm/panel: ltk050h3146w: only print message when GPIO getting is not EPROBE_DEFER Quentin Schulz
2024-01-04 14:09   ` Christophe JAILLET
2024-01-04 12:41 ` [PATCH 2/2] drm/panel: ltk050h3146w: use dev_err_probe wherever possible Quentin Schulz
2024-01-04 14:08   ` Christophe JAILLET
2024-01-04 16:14 ` [PATCH 0/2] drm/panel: ltk050h3146w: error-path debug message improvements Heiko Stuebner

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

all inboxes | Powered by JetHome®