mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/4] media: iris: Fix core init failure recovery and iris_open error handling
@ 2026-12-03 10:22 Gourav Kumar
  2026-12-03 10:22 ` [PATCH 1/4] media: iris: Tear the core down when the firmware does not become ready Gourav Kumar
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Gourav Kumar @ 2026-12-03 10:22 UTC (permalink / raw)
  To: Vikash Garodia, Dikshita Agarwal, Abhinav Kumar,
	Bryan O'Donoghue, Mauro Carvalho Chehab, Stefan Schmidt,
	Hans Verkuil, Vedang Nagar, Dmitry Baryshkov, Konrad Dybcio
  Cc: linux-media, linux-arm-msm, linux-kernel, Bryan O'Donoghue,
	Gourav Kumar, stable

This series fixes a few issues in the iris driver when the core is
brought up and an instance is created in open.

 1. Tear the core down when the firmware does not become ready in time,
    so the next open starts from a clean state.
 2. Fix a NULL dereference and memory leaks on the iris_open error
    paths.
 3. Return the real error when the m2m setup in iris_open fails.
 4. Drop duplicate defines.

Signed-off-by: Gourav Kumar <gourav.kumar@oss.qualcomm.com>
---
Gourav Kumar (4):
      media: iris: Tear the core down when the firmware does not become ready
      media: iris: Fix NULL dereference and leaks in the iris_open error handling
      media: iris: Return the real error when the m2m setup in iris_open fails
      media: iris: Drop duplicate defines

 drivers/media/platform/qcom/iris/iris_buffer.c     |  3 ---
 drivers/media/platform/qcom/iris/iris_core.c       |  6 +++++-
 drivers/media/platform/qcom/iris/iris_vdec.c       |  2 ++
 drivers/media/platform/qcom/iris/iris_venc.c       |  5 +----
 drivers/media/platform/qcom/iris/iris_vidc.c       | 17 +++++++++--------
 drivers/media/platform/qcom/iris/iris_vpu_buffer.h |  6 ------
 6 files changed, 17 insertions(+), 22 deletions(-)
---
base-commit: 799dd936553182df5770dde7f38d94c8337df75a
change-id: 20261130-iris-core-open-error-fixes-f6c32d92aa22

Best regards,
--  
Gourav Kumar <gourav.kumar@oss.qualcomm.com>


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-12-03 10:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-03 10:22 [PATCH 0/4] media: iris: Fix core init failure recovery and iris_open error handling Gourav Kumar
2026-12-03 10:22 ` [PATCH 1/4] media: iris: Tear the core down when the firmware does not become ready Gourav Kumar
2026-12-03 10:22 ` [PATCH 2/4] media: iris: Fix NULL dereference and leaks in the iris_open error handling Gourav Kumar
2026-12-03 10:22 ` [PATCH 3/4] media: iris: Return the real error when the m2m setup in iris_open fails Gourav Kumar
2026-12-03 10:22 ` [PATCH 4/4] media: iris: Drop duplicate defines Gourav Kumar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®