diff options
author | andy.hu <andy.hu@starfivetech.com> | 2024-04-03 13:53:22 +0300 |
---|---|---|
committer | andy.hu <andy.hu@starfivetech.com> | 2024-04-03 13:53:22 +0300 |
commit | d281abf1ca7331a3cba91c1cf6774ffbe82ebfa0 (patch) | |
tree | 76565b0d7c581e5ceaa775bf261867788709c0d1 | |
parent | 191e5e2591166868c716c4f81a82ca23f542cd7a (diff) | |
parent | 135cf4ee02b83945b16673ae40e42f9d26d144a8 (diff) | |
download | linux-d281abf1ca7331a3cba91c1cf6774ffbe82ebfa0.tar.xz |
Merge branch 'CR_9897_vin_changhuang.liang' into 'jh7110-6.6.y-devel'
CR_9897_vin_changhuang.liang media: starfive: Initialize struct v4l2_subdev_format
See merge request sdk/linux!1038
-rw-r--r-- | drivers/media/platform/starfive/v4l2_driver/stf_isp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/starfive/v4l2_driver/stf_isp.c b/drivers/media/platform/starfive/v4l2_driver/stf_isp.c index e867605caaa4..954759682d25 100644 --- a/drivers/media/platform/starfive/v4l2_driver/stf_isp.c +++ b/drivers/media/platform/starfive/v4l2_driver/stf_isp.c @@ -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) |