[linux-dvb] [PATCH] 2/3: implement DMX_SET_BUFFER_SIZE for dvr

Andrea mariofutire at googlemail.com
Sun Apr 13 11:50:50 CEST 2008

Andrea wrote:
> Ok.
> I've changed the second patch to
> 1) allocate the new buffer before releasing the old one
> 2) use spin_[un]lock_irq
> 3) On top of that, I have rearranged the code of DMX_SET_BUFFER_SIZE for 
> the demux so that it does the same as the dvr (i.e. allocate the new 
> buffer before releasing the old one). I think it is a good idea that 2 
> very similar functions are implemented in the same way. (if you don't 
> agree, or if you think a 3rd separate patch for this point is a better 
> idea, let me know.)
> PS: Both patches 1/3 and 2/3 are against a clean v4l-dvb tree. I do not 
> know how to generate incremental patch for 2/3.
> Let me know what you think about that.
> Andrea

I've fixed the patch to pass the "make checkpatch" check.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch.2
Url: http://www.linuxtv.org/pipermail/linux-dvb/attachments/20080413/dad4fa22/attachment-0001.txt 

More information about the linux-dvb mailing list