mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-16 04:04:06 +00:00
media: starfive: Initialize struct v4l2_subdev_format
Initialize struct v4l2_subdev_format make the stream be zero. Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
This commit is contained in:
parent
191e5e2591
commit
135cf4ee02
1 changed files with 1 additions and 1 deletions
|
@ -1266,7 +1266,7 @@ static int isp_match_sensor_format_get_index(struct stf_isp_dev *isp_dev)
|
|||
int ret, idx;
|
||||
struct media_entity *sensor;
|
||||
struct v4l2_subdev *subdev;
|
||||
struct v4l2_subdev_format fmt;
|
||||
struct v4l2_subdev_format fmt = { 0 };
|
||||
const struct isp_format_table *formats;
|
||||
|
||||
if (!isp_dev)
|
||||
|
|
Loading…
Add table
Reference in a new issue