mbox series

[0/3] drm/msm: dsi: Properly handle disconnected secondary dsi block

Message ID 20180730152658.157098-1-seanpaul@chromium.org (mailing list archive)
Headers show
Series drm/msm: dsi: Properly handle disconnected secondary dsi block | expand

Message

Sean Paul July 30, 2018, 3:26 p.m. UTC
The configuration where dsi0 is connected and dsi1 is disconnected
doesn't work currently. When dsi1 fails, it paves the reference to dsi0
in dsi_manager, which causes mass carnage. This set ensures that we
clean up the correct dsi device, and that we fail gracefully if a device
is not connected to anything.

Sean


Sean Paul (3):
  drm/msm: dsi: Initialize msm_dsi->id to -1
  drm/msm: dsi: Return errors whan dt parsing fails
  drm/msm: Don't fail bind if nothing connected to dsi

 drivers/gpu/drm/msm/dsi/dsi.c         | 10 ++++++++--
 drivers/gpu/drm/msm/dsi/dsi_host.c    |  2 ++
 drivers/gpu/drm/msm/dsi/dsi_manager.c |  4 +++-
 3 files changed, 13 insertions(+), 3 deletions(-)