mbox series

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

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

Message

Biju Das Nov. 19, 2024, 7:20 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 v7:
 - Dropped check for host_node as of_node_put() is a no-op when called
   with a NULL pointer. 
 - Added Rb tag from Laurent for patch#1.
Changes in v6:
 - Fixed memory leak by adding goto stattement in error path of
   adv7511_init_regulators().
 - Added Rb tag from Adam for patch#3.
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

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