linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] videobuf2-core: simplify and unify the kernel api
@ 2014-07-31  8:28 panpan liu
  2014-07-31  8:31 ` Hans Verkuil
  0 siblings, 1 reply; 2+ messages in thread
From: panpan liu @ 2014-07-31  8:28 UTC (permalink / raw)
  To: linux-arm-kernel

Making the kernel api more simplified and unified.

Signed-off-by: panpan liu <panpan1.liu@samsung.com>
---
 drivers/media/v4l2-core/videobuf2-core.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 mode change 100644 => 100755 drivers/media/v4l2-core/videobuf2-core.c

diff --git a/drivers/media/v4l2-core/videobuf2-core.c b/drivers/media/v4l2-core/videobuf2-core.c
old mode 100644
new mode 100755
index 9abb15e..71ba92c
--- a/drivers/media/v4l2-core/videobuf2-core.c
+++ b/drivers/media/v4l2-core/videobuf2-core.c
@@ -1194,7 +1194,7 @@ static void __enqueue_in_driver(struct vb2_buffer *vb)
 	for (plane = 0; plane < vb->num_planes; ++plane)
 		call_memop(q, prepare, vb->planes[plane].mem_priv);

-	q->ops->buf_queue(vb);
+	call_qop(q, buf_queue, vb);
 }

 static int __buf_prepare(struct vb2_buffer *vb, const struct v4l2_buffer *b)
--
1.7.9.5

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

* [PATCH] videobuf2-core: simplify and unify the kernel api
  2014-07-31  8:28 [PATCH] videobuf2-core: simplify and unify the kernel api panpan liu
@ 2014-07-31  8:31 ` Hans Verkuil
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Verkuil @ 2014-07-31  8:31 UTC (permalink / raw)
  To: linux-arm-kernel

On 07/31/2014 10:28 AM, panpan liu wrote:
> Making the kernel api more simplified and unified.
> 
> Signed-off-by: panpan liu <panpan1.liu@samsung.com>

Has been fixed already in 3.15. Always check the latest code!

Regards,

	Hans

> ---
>  drivers/media/v4l2-core/videobuf2-core.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>  mode change 100644 => 100755 drivers/media/v4l2-core/videobuf2-core.c
> 
> diff --git a/drivers/media/v4l2-core/videobuf2-core.c b/drivers/media/v4l2-core/videobuf2-core.c
> old mode 100644
> new mode 100755
> index 9abb15e..71ba92c
> --- a/drivers/media/v4l2-core/videobuf2-core.c
> +++ b/drivers/media/v4l2-core/videobuf2-core.c
> @@ -1194,7 +1194,7 @@ static void __enqueue_in_driver(struct vb2_buffer *vb)
>  	for (plane = 0; plane < vb->num_planes; ++plane)
>  		call_memop(q, prepare, vb->planes[plane].mem_priv);
> 
> -	q->ops->buf_queue(vb);
> +	call_qop(q, buf_queue, vb);
>  }
> 
>  static int __buf_prepare(struct vb2_buffer *vb, const struct v4l2_buffer *b)
> --
> 1.7.9.5
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

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

end of thread, other threads:[~2014-07-31  8:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-31  8:28 [PATCH] videobuf2-core: simplify and unify the kernel api panpan liu
2014-07-31  8:31 ` Hans Verkuil

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