mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] media: s5p_mfc - remove unneeded io_modes initialzation in s5p_mfc_open()
@ 2017-02-09 22:11 ` Shuah Khan
  2017-02-10  7:11   ` Andrzej Hajda
  0 siblings, 1 reply; 2+ messages in thread
From: Shuah Khan @ 2017-02-09 22:11 UTC (permalink / raw)
  To: kyungmin.park, kamil, jtp.park, a.hajda, mchehab
  Cc: Shuah Khan, linux-arm-kernel, linux-media, linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] media: s5p_mfc - remove unneeded io_modes initialzation in s5p_mfc_open()
  2017-02-09 22:11 ` [PATCH] media: s5p_mfc - remove unneeded io_modes initialzation in s5p_mfc_open() Shuah Khan
@ 2017-02-10  7:11   ` Andrzej Hajda
  0 siblings, 0 replies; 2+ messages in thread
From: Andrzej Hajda @ 2017-02-10  7:11 UTC (permalink / raw)
  To: Shuah Khan, kyungmin.park, kamil, jtp.park, mchehab
  Cc: linux-arm-kernel, linux-media, linux-kernel

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) {

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-02-10  7:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20170209221122epcas4p138d5e06079a506356e8ba9dae37825c2@epcas4p1.samsung.com>
2017-02-09 22:11 ` [PATCH] media: s5p_mfc - remove unneeded io_modes initialzation in s5p_mfc_open() Shuah Khan
2017-02-10  7:11   ` Andrzej Hajda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®