mbox series

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

Message ID 20230524-video-mux-active-state-v1-0-325c69937ac3@pengutronix.de (mailing list archive)
Headers show
Series media: video-mux: fix error paths and update to active state | expand

Message

Philipp Zabel May 24, 2023, 1:29 p.m. UTC
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@linux.intel.com/

To: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: linux-media@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: kernel@pengutronix.de
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>

---
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,