[media] tm6000: Add parameter to keep urb bufs allocated
authorJulian Scheel <julian@jusst.de>
Thu, 4 Oct 2012 13:04:28 +0000 (10:04 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 4 Dec 2012 16:54:21 +0000 (14:54 -0200)
commit16427faf28674451a7a0485ab0a929402f355ffd
tree954b9a70cffce0a8120a298b8254ec8fc83947c2
parent6823627b933decf5842fcfc37cc71c549f56c6a2
[media] tm6000: Add parameter to keep urb bufs allocated

On systems where it cannot be assured that enough continous memory is available
all the time it can be very useful to only allocate the memory once when it is
needed the first time. Afterwards the initially allocated memory will be
reused, so it is ensured that the memory will stay available until the driver
is unloaded.

[mchehab@redhat.com: Codingstyle fixups]
Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/tm6000/tm6000-video.c
drivers/media/usb/tm6000/tm6000.h