mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] media: ti,cadence: Fixes for CSI2RX
@ 2024-02-23  8:23 Jai Luthra
  2024-02-23  8:23 ` [PATCH 1/2] media: cadence: csi2rx: configure DPHY before starting source stream Jai Luthra
  2024-02-23  8:23 ` [PATCH 2/2] media: ti: j721e-csi2rx: Fix races while restarting DMA Jai Luthra
  0 siblings, 2 replies; 3+ messages in thread
From: Jai Luthra @ 2024-02-23  8:23 UTC (permalink / raw)
  To: Maxime Ripard, Mauro Carvalho Chehab, Laurent Pinchart,
	Sakari Ailus, Jack Zhu, Hans Verkuil, Vaishnav Achath,
	Tomi Valkeinen
  Cc: linux-media, linux-kernel, Julien Massot, Changhuang Liang,
	Jai Luthra, Pratyush Yadav

This series fixes two bugs:
1. When Cadence CSI2RX is used with an external DPHY controller, fix the
   programming sequence to configure the DPHY controller before starting
   streaming on the source
2. Fix a possible race condition in TI CSI2RX Shim driver when
   restarting DMA after stalling due to lack of buffers

These fixes were originally posted in the multi-stream RFC series [1],
but as these are unrelated and urgent, posting them separately now so
they can get picked independently.

Test logs with SK-AM62A + OV5640 https://0x0.st/H5pN.txt

[1]: https://lore.kernel.org/all/20240222-multistream-v1-0-1837ed916eeb@ti.com/

Signed-off-by: Jai Luthra <j-luthra@ti.com>
---
Jai Luthra (1):
      media: ti: j721e-csi2rx: Fix races while restarting DMA

Pratyush Yadav (1):
      media: cadence: csi2rx: configure DPHY before starting source stream

 drivers/media/platform/cadence/cdns-csi2rx.c       | 26 ++++++++++++----------
 .../media/platform/ti/j721e-csi2rx/j721e-csi2rx.c  |  5 ++---
 2 files changed, 16 insertions(+), 15 deletions(-)
---
base-commit: 33e1d31873f87d119e5120b88cd350efa68ef276
change-id: 20240223-csi_fixes-71ddf5181df8

Best regards,
-- 
Jai Luthra <j-luthra@ti.com>


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

end of thread, other threads:[~2024-02-23  8:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-23  8:23 [PATCH 0/2] media: ti,cadence: Fixes for CSI2RX Jai Luthra
2024-02-23  8:23 ` [PATCH 1/2] media: cadence: csi2rx: configure DPHY before starting source stream Jai Luthra
2024-02-23  8:23 ` [PATCH 2/2] media: ti: j721e-csi2rx: Fix races while restarting DMA Jai Luthra

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®