diff options
| author | Dmitry Torokhov <[email protected]> | 2023-08-30 16:06:38 -0700 | 
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2023-08-30 16:06:38 -0700 | 
| commit | 1ac731c529cd4d6adbce134754b51ff7d822b145 (patch) | |
| tree | 143ab3f35ca5f3b69f583c84e6964b17139c2ec1 /drivers/media/platform/xilinx/xilinx-dma.c | |
| parent | 07b4c950f27bef0362dc6ad7ee713aab61d58149 (diff) | |
| parent | 54116d442e001e1b6bd482122043b1870998a1f3 (diff) | |
Merge branch 'next' into for-linus
Prepare input updates for 6.6 merge window.
Diffstat (limited to 'drivers/media/platform/xilinx/xilinx-dma.c')
| -rw-r--r-- | drivers/media/platform/xilinx/xilinx-dma.c | 5 | 
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/platform/xilinx/xilinx-dma.c b/drivers/media/platform/xilinx/xilinx-dma.c index fee02c8c85fd..80d6f5b072ea 100644 --- a/drivers/media/platform/xilinx/xilinx-dma.c +++ b/drivers/media/platform/xilinx/xilinx-dma.c @@ -56,7 +56,9 @@ xvip_dma_remote_subdev(struct media_pad *local, u32 *pad)  static int xvip_dma_verify_format(struct xvip_dma *dma)  { -	struct v4l2_subdev_format fmt; +	struct v4l2_subdev_format fmt = { +		.which = V4L2_SUBDEV_FORMAT_ACTIVE, +	};  	struct v4l2_subdev *subdev;  	int ret; @@ -64,7 +66,6 @@ static int xvip_dma_verify_format(struct xvip_dma *dma)  	if (subdev == NULL)  		return -EPIPE; -	fmt.which = V4L2_SUBDEV_FORMAT_ACTIVE;  	ret = v4l2_subdev_call(subdev, pad, get_fmt, NULL, &fmt);  	if (ret < 0)  		return ret == -ENOIOCTLCMD ? -EINVAL : ret;  |