[media] em28xx-audio: allocate URBs at device driver init
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 29 Dec 2013 00:16:26 +0000 (21:16 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 10 Jan 2014 08:01:47 +0000 (06:01 -0200)
Instead of allocating/deallocating URBs and transfer buffers
every time stream is started/stopped, just do it once.

That reduces the memory allocation pressure and makes the
code that start/stop streaming a way simpler.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>

No differences found