[PATCH 0/2] media: video-mux: fix error paths and update to active state

From: Philipp Zabel
Date: Wed May 24 2023 - 09:29:41 EST


Fix V4L2 async notifier and media entity cleanup and replace the open
coded pad format array with subdev active state to reduce some boiler
plate.

Tested on v6.4-rc3 on i.MX6QP with the async-multi patches [1].

[1] https://lore.kernel.org/all/20230524112349.2141396-1-sakari.ailus@xxxxxxxxxxxxxxx/

To: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>
Cc: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx>
Cc: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx>
Cc: linux-media@xxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
Cc: kernel@xxxxxxxxxxxxxx
Signed-off-by: Philipp Zabel <p.zabel@xxxxxxxxxxxxxx>

---
Philipp Zabel (2):
media: video-mux: fix error paths
media: video-mux: update driver to active state

drivers/media/platform/video-mux.c | 104 +++++++++++++++----------------------
1 file changed, 43 insertions(+), 61 deletions(-)
---
base-commit: a23a3041c733e068bed5ece88acb45fe0edf0413
change-id: 20230524-video-mux-active-state-0968b4303ea9

Best regards,
--
Philipp Zabel <p.zabel@xxxxxxxxxxxxxx>