commit | f5f894d19e2d40f1fb98a4799d85ed0904272cd6 | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab@redhat.com> | Sat Dec 28 21:16:26 2013 -0300 |
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | Fri Jan 10 06:01:47 2014 -0200 |
tree | fe82fe414e82de1b0254307b40131afc99f410a1 | |
parent | 46c704d77f785974ce095b6cf0c71b92d1b06706 [diff] |
[media] em28xx-audio: allocate URBs at device driver init 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>