media: staging/intel-ipu3: Reset imgu_video_device sequence
authorUmang Jain <umang.jain@ideasonboard.com>
Fri, 18 Mar 2022 12:18:25 +0000 (12:18 +0000)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 24 Apr 2022 07:13:35 +0000 (08:13 +0100)
commit1ad037645a81a0b446f9ea5a53e2d3abad33dc56
tree322d4a21da25b23800a11abff21345e1582e866a
parent1f391df446077d62514ee29f75970dff3d55a432
media: staging/intel-ipu3: Reset imgu_video_device sequence

Reset the sequence number of imgu_video_device on stream start.
Failing to do so results in sequence number getting incremented
for consecutive stream on/off cycles.

Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/ipu3/ipu3-v4l2.c