[PATCH v7 0/3] drm: adv7511: ADV7535 fixes
Biju Das
biju.das.jz at bp.renesas.com
Tue Nov 19 19:20:28 UTC 2024
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 at vger.kernel.org" in the sign-off area.
- Dropped invalid Mail address Archit Taneja <architt at 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(-)
--
2.43.0
More information about the dri-devel
mailing list