v4l: subdev: Warn if disabling streaming failed, return success
authorSakari Ailus <sakari.ailus@linux.intel.com>
Mon, 17 Oct 2022 07:04:32 +0000 (10:04 +0300)
committerSakari Ailus <sakari.ailus@linux.intel.com>
Thu, 27 Oct 2022 11:38:03 +0000 (14:38 +0300)
commit379c258677ccf0dab1032d531829f6d8440713fa
treec63d444c884ff20405c43965bae785df0d337884
parent5f9a089b6de34655318afe8e544d9a9cc0fc1d29
v4l: subdev: Warn if disabling streaming failed, return success

Complain in the newly added s_stream video op wrapper if disabling
streaming failed. Also return zero in this case as there's nothing the
caller can do to return the error.

This way drivers also won't need to bother with printing error messages.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
drivers/media/v4l2-core/v4l2-subdev.c
include/media/v4l2-subdev.h