]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit56692974617c97a666c8079a8e32e3c13854c556
tree954b9a70cffce0a8120a298b8254ec8fc83947c2
parentb0fb403f64afe59200eee10e303de97c130ba922
[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