Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1578212
| From | Andrzej Hajda <a.hajda@samsung.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] media: s5p_mfc - remove unneeded io_modes initialzation in s5p_mfc_open() |
| Date | 2017-02-10 08:20 +0100 |
| Message-ID | <t9dES-jp-5@gated-at.bofh.it> (permalink) |
| References | <t9dES-jp-7@gated-at.bofh.it> <t95eh-3ql-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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) {
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[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
csiph-web