]> git.openfabrics.org - ~shefty/rdma-dev.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)
commit20c50af28aa9301b1f5bf0ba571068f663f7b0ac
tree8db149680edf32a9ee40241ab2ed87124ef73641
parentab019fd41d993911ba32db0204bb1233682705ee
[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