Re: Re: [PATCHv4 05/11] omap3isp: Use *_dec_not_zero instead of *_add_unless

2011-08-01 Thread Sven Eckelmann
On Sunday 31 July 2011 17:00:43 Laurent Pinchart wrote: Hi Sven, Thanks for the patch. On Wednesday 27 July 2011 11:47:44 Sven Eckelmann wrote: atomic_dec_not_zero is defined for each architecture through linux/atomic.h to provide the functionality of atomic_add_unless(x, -1, 0

[PATCHv4 05/11] omap3isp: Use *_dec_not_zero instead of *_add_unless

2011-07-27 Thread Sven Eckelmann
atomic_dec_not_zero is defined for each architecture through linux/atomic.h to provide the functionality of atomic_add_unless(x, -1, 0). Signed-off-by: Sven Eckelmann s...@narfation.org Cc: Laurent Pinchart laurent.pinch...@ideasonboard.com Cc: linux-media@vger.kernel.org --- drivers/media/video