media: xilinx-vipp: Look for entities also in waiting_list
authorSakari Ailus <sakari.ailus@linux.intel.com>
Fri, 29 Sep 2023 06:31:08 +0000 (09:31 +0300)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 11 Oct 2023 13:26:16 +0000 (15:26 +0200)
commit30c1886ab53e89be5a0aa16df47b367957fc4bc2
tree902f9411e66d0a753efc0f4f45daea87bbd2d2c2
parent4800021c630210ea0b19434a1fb56ab16385f2b3
media: xilinx-vipp: Look for entities also in waiting_list

The big V4L2 async framework overhaul simplified linked lists used by the
V4L2 async framework. This affected a few drivers and it turns out a few
of those drivers rely on searching for entities in both async notifier's
waiting and done lists. Do that by separately traversing both.

Fixes: 9bf19fbf0c8b ("media: v4l: async: Rework internal lists")
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/platform/xilinx/xilinx-vipp.c