Re: [PATCH 1/2] media: Add timberdale video-in driver

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mauro Carvalho Chehab
Date: Sunday, April 25, 2010 - 8:24 am

Richard Röjfors wrote:

...



Why do you need a fixed DMA buffer size? Just allocate the buffer size dynamically at
buffer_prepare callback.

You should be using, instead, videobuf_dma_sg or videobuf_cont, instead of
using videobuf-vmalloc. This way, you'll avoid double buffering.

-- 

Cheers,
Mauro
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/2] media: Add timberdale video-in driver, Richard Röjfors, (Fri Apr 16, 9:28 am)
Re: [PATCH 1/2] media: Add timberdale video-in driver, Mauro Carvalho Chehab, (Sun Apr 25, 8:24 am)
Re: [PATCH 1/2] media: Add timberdale video-in driver, Richard Röjfors, (Sun Apr 25, 9:01 am)
Re: [PATCH 1/2] media: Add timberdale video-in driver, Mauro Carvalho Chehab, (Sun Apr 25, 9:13 am)
Re: [PATCH 1/2] media: Add timberdale video-in driver, Richard Röjfors, (Wed May 26, 7:19 am)