0109-drm-panel-cwd686-Make-reset-gpio-mandatory.patch 861 B

123456789101112131415161718192021
  1. From 6112585994a6bdbd882709e7187c8c9289211b3b Mon Sep 17 00:00:00 2001
  2. From: Samuel Holland <[email protected]>
  3. Date: Sun, 7 Aug 2022 19:16:03 -0500
  4. Subject: [PATCH 109/117] drm: panel: cwd686: Make reset gpio mandatory
  5. Signed-off-by: Samuel Holland <[email protected]>
  6. ---
  7. drivers/gpu/drm/panel/panel-clockwork-cwd686.c | 2 +-
  8. 1 file changed, 1 insertion(+), 1 deletion(-)
  9. --- a/drivers/gpu/drm/panel/panel-clockwork-cwd686.c
  10. +++ b/drivers/gpu/drm/panel/panel-clockwork-cwd686.c
  11. @@ -410,7 +410,7 @@ static int cwd686_probe(struct mipi_dsi_
  12. MIPI_DSI_MODE_VIDEO_BURST |
  13. MIPI_DSI_MODE_VIDEO_SYNC_PULSE;
  14. - ctx->reset_gpio = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_HIGH);
  15. + ctx->reset_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH);
  16. if (IS_ERR(ctx->reset_gpio)) {
  17. err = PTR_ERR(ctx->reset_gpio);
  18. if (err != -EPROBE_DEFER)