media: v4l2-subdev: Print early in v4l2_subdev_{enable,disable}_streams()
authorSakari Ailus <sakari.ailus@linux.intel.com>
Tue, 3 Jun 2025 21:32:36 +0000 (00:32 +0300)
committerHans Verkuil <hverkuil@xs4all.nl>
Thu, 10 Jul 2025 09:32:23 +0000 (11:32 +0200)
commitf98691668ecd644ce63d20d8dd7baf892a6b873d
tree9f02b4cb7760d1b760857178ef82700d6e860cad
parent7a8212f3bcfab753602599da644fb5bdeaf8ff2d
media: v4l2-subdev: Print early in v4l2_subdev_{enable,disable}_streams()

Print debug messages early in v4l2_subdev_enable_streams() and
v4l2_subdev_disable_streams(), before sanity checks take place. This can
help figuring out why something goes wrong, in driver development or
otherwise.

Also print the name of the sub-device where streaming is to be enabled or
disabled.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/v4l2-core/v4l2-subdev.c