]> www.infradead.org Git - users/dwmw2/linux.git/commit
media: atomisp: Initialize sequence counters to 0 instead of -1
authorHans de Goede <hdegoede@redhat.com>
Sun, 17 Mar 2024 21:45:25 +0000 (21:45 +0000)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 26 Apr 2024 09:10:18 +0000 (10:10 +0100)
commit153d69d26f8ea90775ca7800a222845f95039b22
treeb613079aea4868fae312b033f0455e43e7ce0c8e
parent455132315ed50ed615bd3a45797ac9e9f8a941e5
media: atomisp: Initialize sequence counters to 0 instead of -1

When starting a new stream initialize the sequence counters to 0
instead of -1. This fixes the following libcamera warning:

 Zero sequence expected for first frame (got 4294967295)

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/atomisp/pci/atomisp_ioctl.c