mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] media: amlogic: handle C3 MIPI runtime resume failures
@ 2026-10-03  8:11 Jiale Yao
  2026-10-03  8:11 ` [PATCH 1/2] media: c3-mipi-adap: handle runtime resume failure Jiale Yao
  2026-10-03  8:11 ` [PATCH 2/2] media: c3-mipi-csi2: " Jiale Yao
  0 siblings, 2 replies; 7+ messages in thread
From: Jiale Yao @ 2026-10-03  8:11 UTC (permalink / raw)
  To: Keke Li, Mauro Carvalho Chehab, Jacopo Mondi, Hans Verkuil,
	Daniel Scally, linux-media, linux-kernel
  Cc: Jiale Yao

The C3 MIPI adapter and CSI-2 receiver ignore failures from
pm_runtime_resume_and_get() when enabling streams. Both drivers then access
registers while their power domains may be unavailable, report streaming as
enabled, and later drop runtime PM references that were not acquired.

Check and propagate the runtime PM errors before either device is
programmed.

Jiale Yao (2):
  media: c3-mipi-adap: handle runtime resume failure
  media: c3-mipi-csi2: handle runtime resume failure

 drivers/media/platform/amlogic/c3/mipi-adapter/c3-mipi-adap.c | 4 +++-
 drivers/media/platform/amlogic/c3/mipi-csi2/c3-mipi-csi2.c    | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2026-10-19  8:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-03  8:11 [PATCH 0/2] media: amlogic: handle C3 MIPI runtime resume failures Jiale Yao
2026-10-03  8:11 ` [PATCH 1/2] media: c3-mipi-adap: handle runtime resume failure Jiale Yao
2026-10-19  6:23   ` Keke Li
2026-10-03  8:11 ` [PATCH 2/2] media: c3-mipi-csi2: " Jiale Yao
2026-10-19  6:24   ` Keke Li
2026-10-19  7:31     ` Jacopo Mondi
2026-10-19  8:48       ` Keke Li

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®