]> git.baikalelectronics.ru Git - kernel.git/commit
[media] staging: easycap: Split buffer and video urb allocation
authorEzequiel García <elezegarcia@gmail.com>
Fri, 24 Feb 2012 14:24:15 +0000 (11:24 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 15 May 2012 11:54:14 +0000 (08:54 -0300)
commit261eeddd41434faca2f71aaa97b29ac1736083f3
tree8db149680edf32a9ee40241ab2ed87124ef73641
parentd203e087472a928ce6fac20a845b74ca0774434a
[media] staging: easycap: Split buffer and video urb allocation

When the device is probed, this driver allocates
frame buffers, field buffers, isoc buffers and urbs.
This patch just split this into separate functions,
which helps clearing the currently gigantic probe function.

Signed-off-by: Ezequiel Garcia <elezegarcia@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/media/easycap/easycap_main.c