diff options
author | Lad, Prabhakar <prabhakar.csengg@gmail.com> | 2014-05-16 09:33:07 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-05-23 18:00:34 -0400 |
commit | 26279364563019914b97f7e909e7682d8020b7a1 (patch) | |
tree | a56342f5dcd872c4d5eb79f52d845cfe0e22cf9d /drivers/media/platform/davinci | |
parent | a2b235cb481c6b1e497839c384e5746632603b86 (diff) |
[media] media: davinci: vpif_display: drop buf_init() callback
this patch drops the buf_init() callback as init
of buf list is not required.
Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/platform/davinci')
-rw-r--r-- | drivers/media/platform/davinci/vpif_display.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/media/platform/davinci/vpif_display.c b/drivers/media/platform/davinci/vpif_display.c index dbd4f0f60919..e2102eaa687d 100644 --- a/drivers/media/platform/davinci/vpif_display.c +++ b/drivers/media/platform/davinci/vpif_display.c | |||
@@ -205,16 +205,6 @@ static void vpif_wait_finish(struct vb2_queue *vq) | |||
205 | mutex_lock(&common->lock); | 205 | mutex_lock(&common->lock); |
206 | } | 206 | } |
207 | 207 | ||
208 | static int vpif_buffer_init(struct vb2_buffer *vb) | ||
209 | { | ||
210 | struct vpif_disp_buffer *buf = container_of(vb, | ||
211 | struct vpif_disp_buffer, vb); | ||
212 | |||
213 | INIT_LIST_HEAD(&buf->list); | ||
214 | |||
215 | return 0; | ||
216 | } | ||
217 | |||
218 | static u8 channel_first_int[VPIF_NUMOBJECTS][2] = { {1, 1} }; | 208 | static u8 channel_first_int[VPIF_NUMOBJECTS][2] = { {1, 1} }; |
219 | 209 | ||
220 | static int vpif_start_streaming(struct vb2_queue *vq, unsigned int count) | 210 | static int vpif_start_streaming(struct vb2_queue *vq, unsigned int count) |
@@ -351,7 +341,6 @@ static struct vb2_ops video_qops = { | |||
351 | .queue_setup = vpif_buffer_queue_setup, | 341 | .queue_setup = vpif_buffer_queue_setup, |
352 | .wait_prepare = vpif_wait_prepare, | 342 | .wait_prepare = vpif_wait_prepare, |
353 | .wait_finish = vpif_wait_finish, | 343 | .wait_finish = vpif_wait_finish, |
354 | .buf_init = vpif_buffer_init, | ||
355 | .buf_prepare = vpif_buffer_prepare, | 344 | .buf_prepare = vpif_buffer_prepare, |
356 | .start_streaming = vpif_start_streaming, | 345 | .start_streaming = vpif_start_streaming, |
357 | .stop_streaming = vpif_stop_streaming, | 346 | .stop_streaming = vpif_stop_streaming, |