]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
V4L/DVB (5441): Saa7146: Fix allocation of clipping memory
authorOliver Endriss <o.endriss@gmx.de>
Wed, 14 Mar 2007 02:44:57 +0000 (23:44 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Tue, 27 Mar 2007 11:45:56 +0000 (08:45 -0300)
commit7a7cd1920969dd9da4e0d99aab573b3eba24c799
treecfa96369dd710e21d7066bf641eb71e5d380c9cc
parent21b48a70f7e26906d522c81b22228b375b450a8f
V4L/DVB (5441): Saa7146: Fix allocation of clipping memory

Olaf Hering pointed out that SAA7146_CLIPPING_MEM would become
very large for PAGE_SIZE > 4K.
In fact, the number of clipping windows is limited to 16,
and calculate_clipping_registers_rect() does not use more
than 256 bytes. SAA7146_CLIPPING_MEM adjusted accordingly.

Thanks-to: Olaf Hering <olaf@aepfle.de>
Acked-by: Michael Hunold <hunold@linuxtv.org>
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
include/media/saa7146_vv.h