0116-drm-panel-cwd686-Why-is-this-not-getting-called.patch 716 B

123456789101112131415161718192021
  1. From a19565eccfdc0fce7f41cfe70cd67a1a10d2113c Mon Sep 17 00:00:00 2001
  2. From: Samuel Holland <[email protected]>
  3. Date: Tue, 9 Aug 2022 20:15:39 -0500
  4. Subject: [PATCH 116/117] drm: panel: cwd686: Why is this not getting called?
  5. Signed-off-by: Samuel Holland <[email protected]>
  6. ---
  7. drivers/gpu/drm/panel/panel-clockwork-cwd686.c | 2 ++
  8. 1 file changed, 2 insertions(+)
  9. --- a/drivers/gpu/drm/panel/panel-clockwork-cwd686.c
  10. +++ b/drivers/gpu/drm/panel/panel-clockwork-cwd686.c
  11. @@ -373,6 +373,8 @@ static void cwd686_remove(struct mipi_ds
  12. mipi_dsi_detach(dsi);
  13. drm_panel_remove(&ctx->panel);
  14. + if (ctx->prepared)
  15. + cwd686_unprepare(&ctx->panel);
  16. }
  17. static const struct of_device_id cwd686_of_match[] = {