Loading drivers/media/platform/msm/vidc/msm_vidc.c +2 −1 Original line number Diff line number Diff line Loading @@ -221,7 +221,8 @@ struct buffer_info *get_registered_buf(struct msm_vidc_inst *inst, bool overlaps = OVERLAPS(buff_off, size, temp->buff_off[i], temp->size[i]); if ((fd_matches || device_addr_matches) && if (!temp->inactive && (fd_matches || device_addr_matches) && (contains_within || overlaps)) { dprintk(VIDC_DBG, "This memory region is already mapped\n"); Loading Loading
drivers/media/platform/msm/vidc/msm_vidc.c +2 −1 Original line number Diff line number Diff line Loading @@ -221,7 +221,8 @@ struct buffer_info *get_registered_buf(struct msm_vidc_inst *inst, bool overlaps = OVERLAPS(buff_off, size, temp->buff_off[i], temp->size[i]); if ((fd_matches || device_addr_matches) && if (!temp->inactive && (fd_matches || device_addr_matches) && (contains_within || overlaps)) { dprintk(VIDC_DBG, "This memory region is already mapped\n"); Loading