[PATCH 0/2] media: ti,cadence: Fixes for CSI2RX

From: Jai Luthra
Date: Fri Feb 23 2024 - 03:24:13 EST


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@xxxxxx/

Signed-off-by: Jai Luthra <j-luthra@xxxxxx>
---
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@xxxxxx>