]> 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)
commitad3f71f67f71fe7ef0304c99fa16e8fab363ba68
tree8db149680edf32a9ee40241ab2ed87124ef73641
parent54eae5b9b117628bf7a16456b62e2cf506978e8e
[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