diff options
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2012-04-26 05:26:29 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-05-20 08:23:09 -0400 |
commit | 3d112d9aced3d4ad959e159a1662503452792295 (patch) | |
tree | 389a4a1980585c316687b4cfebdb64e46a931812 /drivers/media/video/s5p-fimc/fimc-m2m.c | |
parent | 0f735f5236643cbbeb833fa0946bd52c20d00966 (diff) |
[media] s5p-fimc: Prefix format enumerations with FIMC_FMT_
Prefix the pixel format enumerations with FIMC_FMT_ to make it more clear,
especially when used in new IP drivers, like fimc-lite, etc. Also add IO_
prefix in the input/output enumeration.
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/s5p-fimc/fimc-m2m.c')
-rw-r--r-- | drivers/media/video/s5p-fimc/fimc-m2m.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/s5p-fimc/fimc-m2m.c b/drivers/media/video/s5p-fimc/fimc-m2m.c index 70edc75e6fce..60bbab157c24 100644 --- a/drivers/media/video/s5p-fimc/fimc-m2m.c +++ b/drivers/media/video/s5p-fimc/fimc-m2m.c | |||
@@ -676,8 +676,8 @@ static int fimc_m2m_open(struct file *file) | |||
676 | /* Setup the device context for memory-to-memory mode */ | 676 | /* Setup the device context for memory-to-memory mode */ |
677 | ctx->state = FIMC_CTX_M2M; | 677 | ctx->state = FIMC_CTX_M2M; |
678 | ctx->flags = 0; | 678 | ctx->flags = 0; |
679 | ctx->in_path = FIMC_DMA; | 679 | ctx->in_path = FIMC_IO_DMA; |
680 | ctx->out_path = FIMC_DMA; | 680 | ctx->out_path = FIMC_IO_DMA; |
681 | 681 | ||
682 | ctx->m2m_ctx = v4l2_m2m_ctx_init(fimc->m2m.m2m_dev, ctx, queue_init); | 682 | ctx->m2m_ctx = v4l2_m2m_ctx_init(fimc->m2m.m2m_dev, ctx, queue_init); |
683 | if (IS_ERR(ctx->m2m_ctx)) { | 683 | if (IS_ERR(ctx->m2m_ctx)) { |