[PATCH 0/2] drm/panel: ltk050h3146w: error-path debug message improvements

Quentin Schulz posted 2 patches 1 year, 11 months ago
drivers/gpu/drm/panel/panel-leadtek-ltk050h3146w.c | 23 +++++++---------------
1 file changed, 7 insertions(+), 16 deletions(-)
[PATCH 0/2] drm/panel: ltk050h3146w: error-path debug message improvements
Posted by Quentin Schulz 1 year, 11 months ago
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>
Re: [PATCH 0/2] drm/panel: ltk050h3146w: error-path debug message improvements
Posted by Heiko Stuebner 1 year, 11 months ago
On Thu, 4 Jan 2024 13:41:56 +0100, Quentin Schulz wrote:
> 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
> 
> [...]

Applied, thanks!

[1/2] drm/panel: ltk050h3146w: only print message when GPIO getting is not EPROBE_DEFER
      commit: 65afd91e8d70e10c7f99126d61bf0045ef52d271
[2/2] drm/panel: ltk050h3146w: use dev_err_probe wherever possible
      commit: 056a9965e58e47928e8afd4dc017221f9221b3d3

Best regards,
-- 
Heiko Stuebner <heiko@sntech.de>