.. | .. |
---|
1123 | 1123 | struct ia_css_frame *frame; |
---|
1124 | 1124 | struct videobuf_vmalloc_memory *vm_mem; |
---|
1125 | 1125 | u16 source_pad = atomisp_subdev_source_pad(vdev); |
---|
1126 | | - u16 stream_id = atomisp_source_pad_to_stream_id(asd, source_pad); |
---|
| 1126 | + u16 stream_id; |
---|
1127 | 1127 | int ret = 0, i = 0; |
---|
1128 | 1128 | |
---|
1129 | 1129 | if (!asd) { |
---|
.. | .. |
---|
1131 | 1131 | __func__, vdev->name); |
---|
1132 | 1132 | return -EINVAL; |
---|
1133 | 1133 | } |
---|
| 1134 | + stream_id = atomisp_source_pad_to_stream_id(asd, source_pad); |
---|
1134 | 1135 | |
---|
1135 | 1136 | if (req->count == 0) { |
---|
1136 | 1137 | mutex_lock(&pipe->capq.vb_lock); |
---|