hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/staging/media/atomisp/pci/atomisp_cmd.c
....@@ -5243,7 +5243,7 @@
52435243 int (*configure_pp_input)(struct atomisp_sub_device *asd,
52445244 unsigned int width, unsigned int height) =
52455245 configure_pp_input_nop;
5246
- u16 stream_index = atomisp_source_pad_to_stream_id(asd, source_pad);
5246
+ u16 stream_index;
52475247 const struct atomisp_in_fmt_conv *fc;
52485248 int ret, i;
52495249
....@@ -5252,6 +5252,7 @@
52525252 __func__, vdev->name);
52535253 return -EINVAL;
52545254 }
5255
+ stream_index = atomisp_source_pad_to_stream_id(asd, source_pad);
52555256
52565257 v4l2_fh_init(&fh.vfh, vdev);
52575258