mbox series

[0/3] drm/panel: Proper cleanup after mipi_dsi_attach()

Message ID 20210924003355.2071543-1-briannorris@chromium.org (mailing list archive)
Headers show
Series drm/panel: Proper cleanup after mipi_dsi_attach() | expand

Message

Brian Norris Sept. 24, 2021, 12:33 a.m. UTC
I've tested a few dual-DSI panel drivers which choke if they PROBE_DEFER
at the wrong time, so I patched those up in patch 1 and 2. Patch 3 fixes
the other drivers that I couldn't test, but seem to have all the same
problem.


Brian Norris (3):
  drm/panel: kingdisplay-kd097d04: Delete panel on attach() failure
  drm/panel: innolux-p079zca: Delete panel on attach() failure
  drm/panel: Delete panel on mipi_dsi_attach() failure

 drivers/gpu/drm/panel/panel-feiyang-fy07024di26a30d.c  |  8 +++++++-
 drivers/gpu/drm/panel/panel-innolux-p079zca.c          | 10 +++++++++-
 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c         |  8 +++++++-
 drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c     |  8 +++++++-
 drivers/gpu/drm/panel/panel-novatek-nt36672a.c         |  8 +++++++-
 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c   |  8 +++++++-
 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c           |  8 +++++++-
 .../gpu/drm/panel/panel-samsung-s6e88a0-ams452ef01.c   |  1 +
 drivers/gpu/drm/panel/panel-samsung-sofef00.c          |  1 +
 drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c        |  8 +++++++-
 10 files changed, 60 insertions(+), 8 deletions(-)

Comments

Sam Ravnborg Oct. 14, 2021, 7:59 p.m. UTC | #1
Hi Brian,

On Thu, Sep 23, 2021 at 05:33:52PM -0700, Brian Norris wrote:
> I've tested a few dual-DSI panel drivers which choke if they PROBE_DEFER
> at the wrong time, so I patched those up in patch 1 and 2. Patch 3 fixes
> the other drivers that I couldn't test, but seem to have all the same
> problem.
> 
> 
> Brian Norris (3):
>   drm/panel: kingdisplay-kd097d04: Delete panel on attach() failure
>   drm/panel: innolux-p079zca: Delete panel on attach() failure
>   drm/panel: Delete panel on mipi_dsi_attach() failure

Thanks for fixing these up, and especially for the fix of the remaining
panel drivers.

I have applied all three patches to drm-misc-next as I did not consider
the fixes urgent.

They will show up in -next in 1-2 weeks.

	Sam