mbox series

[v5,0/3] drm: adv7511: ADV7535 fixes

Message ID 20241119131011.105359-1-biju.das.jz@bp.renesas.com (mailing list archive)
Headers show
Series drm: adv7511: ADV7535 fixes | expand

Message

Biju Das Nov. 19, 2024, 1:10 p.m. UTC
This patch series aims to fix 2 bugs in the ADV7535 driver

1) use-after-free bug in adv7533_attach_dsi()
2) Drop unsupported single lane.

Changes in v5:
 - Updated commit description for patch#1.
 - restored host_node in struct adv7511.
 - Dropped of_node_put() in adv7533_parse_dt() and calling of_node_put()
   in error path of probe() and also in the remove().
Changes in v4:
 - Updated commit description for patch#1.
 - Dropped host_node from struct adv7511 and instead used a local pointer
   in probe(). Also freeing of host_node pointer after use is done in
   probe().
 - Added link to ADV7533 data sheet.
 - Collected tags
Changes in v3:
 - Replace __free construct with readable of_node_put().
 - Dropped single lane support from bindings and driver.
changes in v2:
 - Added the tag "Cc: stable@vger.kernel.org" in the sign-off area.
 - Dropped invalid Mail address Archit Taneja <architt@codeaurora.org>.

Biju Das (3):
  drm: adv7511: Fix use-after-free in adv7533_attach_dsi()
  dt-bindings: display: adi,adv7533: Drop single lane support
  drm: adv7511: Drop dsi single lane support

 .../devicetree/bindings/display/bridge/adi,adv7533.yaml      | 2 +-
 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c                 | 5 +++++
 drivers/gpu/drm/bridge/adv7511/adv7533.c                     | 4 +---
 3 files changed, 7 insertions(+), 4 deletions(-)