[PATCH v3 0/2] drm/bridge: adv7511: get edid in hpd_work to update CEC phys address

From: Alvin Šipraga
Date: Mon Feb 19 2024 - 15:13:23 EST


This series fixes a small bug where the CEC adapter could have an
invalid CEC address even though we got a hotplug connect and could have
read it.

Signed-off-by: Alvin Šipraga <alsi@xxxxxxxxxxxxxxx>
---
Changes in v3:
- rebase on latest drm-misc-fixes
- remove redundant NULL check before kfree()
- collect Robert's Reviewed-by
- Link to v2: https://lore.kernel.org/r/20231124-adv7511-cec-edid-v2-0-f0e5eeafdfc2@xxxxxxxxxxxxxxx

Changes in v2:
- Rearrange driver code to avoid the previous prototype of
adv7511_get_edid(), per Laurent's feedback
- Free the returned EDID to prevent a memory leak, per Jani's comment
- Link to v1: https://lore.kernel.org/r/20231014-adv7511-cec-edid-v1-1-a58ceae0b57e@xxxxxxxxxxxxxxx

---
Alvin Šipraga (2):
drm/bridge: adv7511: rearrange hotplug work code
drm/bridge: adv7511: get edid in hpd_work to update CEC phys address

drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 153 ++++++++++++++++-----------
1 file changed, 89 insertions(+), 64 deletions(-)
---
base-commit: 335126937753844d36036984e96a8f343538a778
change-id: 20231014-adv7511-cec-edid-ff75bd3ac929