[PATCH v4 21/22] [media] em28xx-audio: allocate URBs at device driver init

2014-01-04 Thread Mauro Carvalho Chehab
From: Mauro Carvalho Chehab 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 Signed-of

Re: [PATCH v4 21/22] [media] em28xx-audio: allocate URBs at device driver init

2014-01-05 Thread Frank Schäfer
Am 04.01.2014 11:55, schrieb Mauro Carvalho Chehab: > From: Mauro Carvalho Chehab Is this line still correct ? ;) > 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 >

Re: [PATCH v4 21/22] [media] em28xx-audio: allocate URBs at device driver init

2014-01-05 Thread Mauro Carvalho Chehab
Em Sun, 05 Jan 2014 22:02:40 +0100 Frank Schäfer escreveu: > Am 04.01.2014 11:55, schrieb Mauro Carvalho Chehab: > > From: Mauro Carvalho Chehab > Is this line still correct ? ;) > > > Instead of allocating/deallocating URBs and transfer buffers > > every time stream is started/stopped, just do

Re: [PATCH v4 21/22] [media] em28xx-audio: allocate URBs at device driver init

2014-01-06 Thread Mauro Carvalho Chehab
Em Sun, 05 Jan 2014 19:25:57 -0200 Mauro Carvalho Chehab escreveu: > Em Sun, 05 Jan 2014 22:02:40 +0100 > Frank Schäfer escreveu: > > > Am 04.01.2014 11:55, schrieb Mauro Carvalho Chehab: > > > From: Mauro Carvalho Chehab > > Is this line still correct ? ;) > > > > > Instead of allocating/dea

Re: [PATCH v4 21/22] [media] em28xx-audio: allocate URBs at device driver init

2014-01-07 Thread Frank Schäfer
Am 05.01.2014 22:25, schrieb Mauro Carvalho Chehab: > Em Sun, 05 Jan 2014 22:02:40 +0100 > Frank Schäfer escreveu: > >> Am 04.01.2014 11:55, schrieb Mauro Carvalho Chehab: >>> From: Mauro Carvalho Chehab >> Is this line still correct ? ;) >> >>> Instead of allocating/deallocating URBs and transfe

Re: [PATCH v4 21/22] [media] em28xx-audio: allocate URBs at device driver init

2014-01-08 Thread Mauro Carvalho Chehab
Em Tue, 07 Jan 2014 18:03:50 +0100 Frank Schäfer escreveu: > Am 05.01.2014 22:25, schrieb Mauro Carvalho Chehab: > > Em Sun, 05 Jan 2014 22:02:40 +0100 > > Frank Schäfer escreveu: > > > >> Am 04.01.2014 11:55, schrieb Mauro Carvalho Chehab: > >>> From: Mauro Carvalho Chehab > >> Is this line st

Re: [PATCH v4 21/22] [media] em28xx-audio: allocate URBs at device driver init

2014-01-08 Thread Frank Schäfer
Am 08.01.2014 15:10, schrieb Mauro Carvalho Chehab: > Em Tue, 07 Jan 2014 18:03:50 +0100 > Frank Schäfer escreveu: > >> Am 05.01.2014 22:25, schrieb Mauro Carvalho Chehab: >>> Em Sun, 05 Jan 2014 22:02:40 +0100 >>> Frank Schäfer escreveu: >>> Am 04.01.2014 11:55, schrieb Mauro Carvalho Cheha