Loading drivers/media/platform/msm/camera_v2/common/cam_smmu_api.c +6 −0 Original line number Diff line number Diff line Loading @@ -764,6 +764,12 @@ static int cam_smmu_map_buffer_and_add_to_list(int idx, int ion_fd, struct dma_buf_attachment *attach = NULL; struct sg_table *table = NULL; if (!paddr_ptr) { pr_err("Error: Input pointer invalid\n"); rc = -EINVAL; goto err_out; } /* allocate memory for each buffer information */ buf = dma_buf_get(ion_fd); if (IS_ERR_OR_NULL(buf)) { Loading drivers/media/platform/msm/camera_v2/fd/msm_fd_dev.c +1 −1 Original line number Diff line number Diff line Loading @@ -465,7 +465,7 @@ static long msm_fd_private_ioctl(struct file *file, void *fh, struct fd_ctx *ctx = msm_fd_ctx_from_fh(fh); struct msm_fd_stats *stats; int stats_idx; int ret; int ret = -EINVAL; int i; switch (cmd) { Loading drivers/media/platform/msm/camera_v2/fd/msm_fd_hw.c +1 −1 Original line number Diff line number Diff line Loading @@ -923,7 +923,7 @@ void msm_fd_hw_put(struct msm_fd_device *fd) */ static int msm_fd_hw_attach_iommu(struct msm_fd_device *fd) { int ret; int ret = -EINVAL; mutex_lock(&fd->lock); Loading drivers/media/platform/msm/camera_v2/msm.c +1 −0 Original line number Diff line number Diff line Loading @@ -681,6 +681,7 @@ static long msm_private_ioctl(struct file *file, void *fh, unsigned long spin_flags = 0; struct msm_sd_subdev *msm_sd; memset(&event, 0, sizeof(struct v4l2_event)); session_id = event_data->session_id; stream_id = event_data->stream_id; Loading Loading
drivers/media/platform/msm/camera_v2/common/cam_smmu_api.c +6 −0 Original line number Diff line number Diff line Loading @@ -764,6 +764,12 @@ static int cam_smmu_map_buffer_and_add_to_list(int idx, int ion_fd, struct dma_buf_attachment *attach = NULL; struct sg_table *table = NULL; if (!paddr_ptr) { pr_err("Error: Input pointer invalid\n"); rc = -EINVAL; goto err_out; } /* allocate memory for each buffer information */ buf = dma_buf_get(ion_fd); if (IS_ERR_OR_NULL(buf)) { Loading
drivers/media/platform/msm/camera_v2/fd/msm_fd_dev.c +1 −1 Original line number Diff line number Diff line Loading @@ -465,7 +465,7 @@ static long msm_fd_private_ioctl(struct file *file, void *fh, struct fd_ctx *ctx = msm_fd_ctx_from_fh(fh); struct msm_fd_stats *stats; int stats_idx; int ret; int ret = -EINVAL; int i; switch (cmd) { Loading
drivers/media/platform/msm/camera_v2/fd/msm_fd_hw.c +1 −1 Original line number Diff line number Diff line Loading @@ -923,7 +923,7 @@ void msm_fd_hw_put(struct msm_fd_device *fd) */ static int msm_fd_hw_attach_iommu(struct msm_fd_device *fd) { int ret; int ret = -EINVAL; mutex_lock(&fd->lock); Loading
drivers/media/platform/msm/camera_v2/msm.c +1 −0 Original line number Diff line number Diff line Loading @@ -681,6 +681,7 @@ static long msm_private_ioctl(struct file *file, void *fh, unsigned long spin_flags = 0; struct msm_sd_subdev *msm_sd; memset(&event, 0, sizeof(struct v4l2_event)); session_id = event_data->session_id; stream_id = event_data->stream_id; Loading