diff options
author | Kieran Bingham | 2018-05-18 22:41:56 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab | 2018-05-26 00:39:54 +0200 |
commit | 764dfee1a153eebf43bdb4eee94ef7e156ff5f5f (patch) | |
tree | cf4e75bb488c55b3ea6fc95f0ef7920d5ed487f6 /drivers/media/platform/vsp1/vsp1_lut.c | |
parent | media: vsp1: Move video suspend resume handling to video object (diff) | |
download | kernel-qcow2-linux-764dfee1a153eebf43bdb4eee94ef7e156ff5f5f.tar.gz kernel-qcow2-linux-764dfee1a153eebf43bdb4eee94ef7e156ff5f5f.tar.xz kernel-qcow2-linux-764dfee1a153eebf43bdb4eee94ef7e156ff5f5f.zip |
media: vsp1: Reword uses of 'fragment' as 'body'
Throughout the codebase, the term 'fragment' is used to represent a
display list body. This term duplicates the 'body' which is already in
use.
The datasheet references these objects as a body, therefore replace all
mentions of a fragment with a body, along with the corresponding
pluralised terms.
Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/platform/vsp1/vsp1_lut.c')
-rw-r--r-- | drivers/media/platform/vsp1/vsp1_lut.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/platform/vsp1/vsp1_lut.c b/drivers/media/platform/vsp1/vsp1_lut.c index f2e48a02ca7d..acbaca0f47f0 100644 --- a/drivers/media/platform/vsp1/vsp1_lut.c +++ b/drivers/media/platform/vsp1/vsp1_lut.c @@ -40,19 +40,19 @@ static int lut_set_table(struct vsp1_lut *lut, struct v4l2_ctrl *ctrl) struct vsp1_dl_body *dlb; unsigned int i; - dlb = vsp1_dl_fragment_alloc(lut->entity.vsp1, 256); + dlb = vsp1_dl_body_alloc(lut->entity.vsp1, 256); if (!dlb) return -ENOMEM; for (i = 0; i < 256; ++i) - vsp1_dl_fragment_write(dlb, VI6_LUT_TABLE + 4 * i, + vsp1_dl_body_write(dlb, VI6_LUT_TABLE + 4 * i, ctrl->p_new.p_u32[i]); spin_lock_irq(&lut->lock); swap(lut->lut, dlb); spin_unlock_irq(&lut->lock); - vsp1_dl_fragment_free(dlb); + vsp1_dl_body_free(dlb); return 0; } @@ -167,7 +167,7 @@ static void lut_configure(struct vsp1_entity *entity, spin_unlock_irqrestore(&lut->lock, flags); if (dlb) - vsp1_dl_list_add_fragment(dl, dlb); + vsp1_dl_list_add_body(dl, dlb); break; } } |