V4L/DVB (6085): cx88-alsa: Fix mmap support
authorTrent Piepho <xyzzy@speakeasy.org>
Fri, 24 Aug 2007 04:06:36 +0000 (01:06 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 10 Oct 2007 01:06:37 +0000 (22:06 -0300)
commitf6210c9160dff82ceaaf5e59cf5f8fcd6bdefa38
tree14583f207bf08163a97f2ed61a3b93d17fc22f85
parentffb7394d51cf6f60a3753a5cc40613fc9d5c5c96
V4L/DVB (6085): cx88-alsa: Fix mmap support

The driver has long claimed to support mmap, but it didn't work at all.  Some
of the dma buffer parameters weren't set, and since video_buf uses vmalloc to
allocate the buffer, a page callback is needed too.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cx88/cx88-alsa.c