* Re: [PATCH] [media] s5p-mfc: Set vfl_dir for encoder
2012-10-04 19:14 [PATCH] [media] s5p-mfc: Set vfl_dir for encoder Arun Kumar K
@ 2012-10-04 13:20 ` Sylwester Nawrocki
0 siblings, 0 replies; 2+ messages in thread
From: Sylwester Nawrocki @ 2012-10-04 13:20 UTC (permalink / raw)
To: Arun Kumar K; +Cc: linux-media, k.debski, joshi
On 10/04/2012 09:14 PM, Arun Kumar K wrote:
> The vfl_dir flag is presently set to VFL_DIR_M2M only for decoder.
> The encoder is not working because of this. So adding this flag
> to the encoder part also.
>
> Signed-off-by: Arun Kumar K <arun.kk@samsung.com>
> ---
> drivers/media/platform/s5p-mfc/s5p_mfc.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc.c b/drivers/media/platform/s5p-mfc/s5p_mfc.c
> index aa55133..130f4ac 100644
> --- a/drivers/media/platform/s5p-mfc/s5p_mfc.c
> +++ b/drivers/media/platform/s5p-mfc/s5p_mfc.c
> @@ -1155,6 +1155,7 @@ static int s5p_mfc_probe(struct platform_device *pdev)
> vfd->release = video_device_release,
> vfd->lock = &dev->mfc_mutex;
> vfd->v4l2_dev = &dev->v4l2_dev;
> + vfd->vfl_dir = VFL_DIR_M2M;
> snprintf(vfd->name, sizeof(vfd->name), "%s", S5P_MFC_ENC_NAME);
> dev->vfd_enc = vfd;
> ret = video_register_device(vfd, VFL_TYPE_GRABBER, 0);
I have added it to my tree, will send out to Mauro together with
your v10 of the patch series adding MFC v6 firmware support, with
Kamil's Ack.
--
Thanks,
Sylwester
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH] [media] s5p-mfc: Set vfl_dir for encoder
@ 2012-10-04 19:14 Arun Kumar K
2012-10-04 13:20 ` Sylwester Nawrocki
0 siblings, 1 reply; 2+ messages in thread
From: Arun Kumar K @ 2012-10-04 19:14 UTC (permalink / raw)
To: linux-media; +Cc: k.debski, s.nawrocki, arun.kk, joshi
The vfl_dir flag is presently set to VFL_DIR_M2M only for decoder.
The encoder is not working because of this. So adding this flag
to the encoder part also.
Signed-off-by: Arun Kumar K <arun.kk@samsung.com>
---
drivers/media/platform/s5p-mfc/s5p_mfc.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc.c b/drivers/media/platform/s5p-mfc/s5p_mfc.c
index aa55133..130f4ac 100644
--- a/drivers/media/platform/s5p-mfc/s5p_mfc.c
+++ b/drivers/media/platform/s5p-mfc/s5p_mfc.c
@@ -1155,6 +1155,7 @@ static int s5p_mfc_probe(struct platform_device *pdev)
vfd->release = video_device_release,
vfd->lock = &dev->mfc_mutex;
vfd->v4l2_dev = &dev->v4l2_dev;
+ vfd->vfl_dir = VFL_DIR_M2M;
snprintf(vfd->name, sizeof(vfd->name), "%s", S5P_MFC_ENC_NAME);
dev->vfd_enc = vfd;
ret = video_register_device(vfd, VFL_TYPE_GRABBER, 0);
--
1.7.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-10-04 13:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-04 19:14 [PATCH] [media] s5p-mfc: Set vfl_dir for encoder Arun Kumar K
2012-10-04 13:20 ` Sylwester Nawrocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).