All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] rcar-csi2: Update handling of transfer error
@ 2021-03-10 16:45 Niklas Söderlund
  2021-03-10 16:45 ` [PATCH v3 1/2] rcar-vin: Stop stream when subdevice signal EOS Niklas Söderlund
  2021-03-10 16:45 ` [PATCH v3 2/2] rcar-csi2: Do not try to recover after transfer error Niklas Söderlund
  0 siblings, 2 replies; 4+ messages in thread
From: Niklas Söderlund @ 2021-03-10 16:45 UTC (permalink / raw)
  To: Hans Verkuil, linux-media; +Cc: linux-renesas-soc, Niklas Söderlund

Hello,

This series adapts the R-Car CSI-2 receiver recovery logic to match
updates in the datasheet. The later datasheets recommend that the whole
video pipeline shall be stopped if an transmission error is detected
instead of just restarting the CSI-2 receiver.

This is tested on M3-N and a fault is injected by quickly removing and
re-inserting the HDMI cable while streaming. This method does not always
hit and is time consuming. To consistently prove correctness of handling
a fake fault was introduced by a HACK and a debugfs entry.

Niklas Söderlund (2):
  rcar-vin: Stop stream when subdevice signal EOS
  rcar-csi2: Do not try to recover after transfer error

 drivers/media/platform/rcar-vin/rcar-csi2.c | 14 ++++++--------
 drivers/media/platform/rcar-vin/rcar-v4l2.c | 16 +++++++++++++++-
 2 files changed, 21 insertions(+), 9 deletions(-)

-- 
2.30.1


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

end of thread, other threads:[~2021-03-16  8:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-10 16:45 [PATCH v3 0/2] rcar-csi2: Update handling of transfer error Niklas Söderlund
2021-03-10 16:45 ` [PATCH v3 1/2] rcar-vin: Stop stream when subdevice signal EOS Niklas Söderlund
2021-03-16  8:11   ` Hans Verkuil
2021-03-10 16:45 ` [PATCH v3 2/2] rcar-csi2: Do not try to recover after transfer error Niklas Söderlund

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.