Skip to content

Conversation

@Scott31393
Copy link
Contributor

struct v4l2_subdev_format change from kernel 6.1.22 with a new stream field. This is not initialized into the imx8-isi-cap nxp driver and once you try to stream something check_state() of drivers/media/v4l2-core/v4l2-subdev.c return -EINVAL into the following statement:

if (stream != 0)
return -EINVAL;

Let's initialize also this missing field into mxc_isi_source_fmt_init() to avoid the following error that prevent user to stream on ISI path:

mxc_isi.0: set remote fmt fail!

struct v4l2_subdev_format change from kernel 6.1.22 with a new stream
field. This is not initialized into the imx8-isi-cap nxp driver and once
you try to stream something check_state() of drivers/media/v4l2-core/v4l2-subdev.c
return -EINVAL into the following statement:

if (stream != 0)
	return -EINVAL;

Let's initialize also this missing field into mxc_isi_source_fmt_init()
to avoid the following error that prevent user to stream on ISI path:

mxc_isi.0: set remote fmt fail!

Signed-off-by: Tommaso Merciai <[email protected]>
Signed-off-by: Tommaso Merciai <[email protected]>
Overdr0ne pushed a commit to Overdr0ne/linux-imx that referenced this pull request Jul 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant