mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-16 04:04:06 +00:00
Merge branch 'CR_10015_VIN_changhuang.liang' into 'jh7110-6.6.y-devel'
CR_10015_VIN_changhuang.liang media: starfive: make stream alway be zero See merge request sdk/linux!1039
This commit is contained in:
commit
9f3afb9657
1 changed files with 3 additions and 2 deletions
|
@ -457,7 +457,9 @@ static int video_get_subdev_format(struct stfcamss_video *video,
|
|||
struct v4l2_pix_format *pix = &video->active_fmt.fmt.pix;
|
||||
struct v4l2_pix_format_mplane *pix_mp =
|
||||
&video->active_fmt.fmt.pix_mp;
|
||||
struct v4l2_subdev_format fmt;
|
||||
struct v4l2_subdev_format fmt = {
|
||||
.which = V4L2_SUBDEV_FORMAT_ACTIVE,
|
||||
};
|
||||
struct v4l2_subdev *subdev;
|
||||
u32 pixelformat;
|
||||
u32 pad;
|
||||
|
@ -468,7 +470,6 @@ static int video_get_subdev_format(struct stfcamss_video *video,
|
|||
return -EPIPE;
|
||||
|
||||
fmt.pad = pad;
|
||||
fmt.which = V4L2_SUBDEV_FORMAT_ACTIVE;
|
||||
|
||||
ret = v4l2_subdev_call(subdev, pad, get_fmt, NULL, &fmt);
|
||||
if (ret)
|
||||
|
|
Loading…
Add table
Reference in a new issue