Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1577990 > unrolled thread

[PATCH] media: s5p_mfc - remove unneeded io_modes initialzation in s5p_mfc_open()

Started byShuah Khan <shuahkh@osg.samsung.com>
First post2017-02-09 23:20 +0100
Last post2017-02-10 08:20 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] media: s5p_mfc - remove unneeded io_modes initialzation in s5p_mfc_open() Shuah Khan <shuahkh@osg.samsung.com> - 2017-02-09 23:20 +0100
    Re: [PATCH] media: s5p_mfc - remove unneeded io_modes initialzation in  s5p_mfc_open() Andrzej Hajda <a.hajda@samsung.com> - 2017-02-10 08:20 +0100

#1577990 — [PATCH] media: s5p_mfc - remove unneeded io_modes initialzation in s5p_mfc_open()

FromShuah Khan <shuahkh@osg.samsung.com>
Date2017-02-09 23:20 +0100
Subject[PATCH] media: s5p_mfc - remove unneeded io_modes initialzation in s5p_mfc_open()
Message-ID<t95eh-3ql-1@gated-at.bofh.it>
Remove unneeded io_modes initialzation in s5p_mfc_open(). It gets done
right below in vdev == dev->vfd_dec conditional.

Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
---
 drivers/media/platform/s5p-mfc/s5p_mfc.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc.c b/drivers/media/platform/s5p-mfc/s5p_mfc.c
index bb0a588..20beaa2 100644
--- a/drivers/media/platform/s5p-mfc/s5p_mfc.c
+++ b/drivers/media/platform/s5p-mfc/s5p_mfc.c
@@ -866,7 +866,6 @@ static int s5p_mfc_open(struct file *file)
 	/* Init videobuf2 queue for OUTPUT */
 	q = &ctx->vq_src;
 	q->type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE;
-	q->io_modes = VB2_MMAP;
 	q->drv_priv = &ctx->fh;
 	q->lock = &dev->mfc_mutex;
 	if (vdev == dev->vfd_dec) {
-- 
2.7.4

[toc] | [next] | [standalone]


#1578212 — Re: [PATCH] media: s5p_mfc - remove unneeded io_modes initialzation in s5p_mfc_open()

FromAndrzej Hajda <a.hajda@samsung.com>
Date2017-02-10 08:20 +0100
SubjectRe: [PATCH] media: s5p_mfc - remove unneeded io_modes initialzation in s5p_mfc_open()
Message-ID<t9dES-jp-5@gated-at.bofh.it>
In reply to#1577990
On 09.02.2017 23:11, Shuah Khan wrote:
> Remove unneeded io_modes initialzation in s5p_mfc_open(). It gets done
> right below in vdev == dev->vfd_dec conditional.
>
> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Acked-by: Andrzej Hajda <a.hajda@samsung.com>
--
Regards
Andrzej
> ---
>  drivers/media/platform/s5p-mfc/s5p_mfc.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc.c b/drivers/media/platform/s5p-mfc/s5p_mfc.c
> index bb0a588..20beaa2 100644
> --- a/drivers/media/platform/s5p-mfc/s5p_mfc.c
> +++ b/drivers/media/platform/s5p-mfc/s5p_mfc.c
> @@ -866,7 +866,6 @@ static int s5p_mfc_open(struct file *file)
>  	/* Init videobuf2 queue for OUTPUT */
>  	q = &ctx->vq_src;
>  	q->type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE;
> -	q->io_modes = VB2_MMAP;
>  	q->drv_priv = &ctx->fh;
>  	q->lock = &dev->mfc_mutex;
>  	if (vdev == dev->vfd_dec) {

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web