From: Oliver Endriss Date: Wed, 14 Mar 2007 02:44:57 +0000 (-0300) Subject: V4L/DVB (5441): Saa7146: Fix allocation of clipping memory X-Git-Tag: v2.6.21-rc6~85^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a7cd1920969dd9da4e0d99aab573b3eba24c799;p=pandora-kernel.git 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 Acked-by: Michael Hunold Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed