V4L: saa7146: Fix allocation of clipping memory
Oliver Endriss authored
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.

(cherry picked from commit 7a7cd192

)

Thanks-to: Olaf Hering <olaf@aepfle.de>
Signed-off-by: default avatarOliver Endriss <o.endriss@gmx.de>
Signed-off-by: default avatarMichael Krufky <mkrufky@linuxtv.org>
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
2d51ccdd
Name Last commit Last update
..
acpi [ACPI] ACPICA 20060127
asm-alpha [PATCH] add asm-generic/mman.h
asm-arm [ARM] 3364/1: [cleanup] warning fix - definitions for enable_hlt and disable_hlt
asm-arm26 [PATCH] add asm-generic/mman.h
asm-cris [PATCH] add asm-generic/mman.h
asm-frv [PATCH] add asm-generic/mman.h
asm-generic [PATCH] SPARC64: Fix D-cache corruption in mremap
asm-h8300 [PATCH] add asm-generic/mman.h
asm-i386 i386: save/restore eflags in context switch (CVE-2006-5173)
asm-ia64 ia64: add pci_get_legacy_ide_irq()
asm-m32r [PATCH] m32r: Fix cpu_possible_map and cpu_present_map initialization for SMP kernel
asm-m68k [PATCH] m68k: fix cmpxchg compile errors if CONFIG_RMW_INSNS=n
asm-m68knommu [PATCH] m68knommu: hardirq.h needs definition of NR_IRQS
asm-mips [PATCH] SPARC64: Fix D-cache corruption in mremap
asm-parisc Fix incorrent type of flags in <asm/semaphore.h>
asm-powerpc make ppc64 current preempt-safe
asm-ppc [PATCH] powerpc: remove duplicate exports
asm-s390 [PATCH] s390: fix compile with VIRT_CPU_ACCOUNTING=n
asm-sh [PATCH] add asm-generic/mman.h
asm-sh64 [PATCH] sh/sh64: Fix bogus TIOCGICOUNT definitions
asm-sparc SPARC32: Fix over-optimization by GCC near ip_fast_csum.
asm-sparc64 ia64/sparc: fix local DoS with corrupted ELFs (CVE-2006-4538)
asm-um [PATCH] uml: avoid "CONFIG_NR_CPUS undeclared" bogus error messages
asm-v850 [PATCH] add asm-generic/mman.h
asm-x86_64 x86_64: re-add a newline to RESTORE_CONTEXT
asm-xtensa [PATCH] add asm-generic/mman.h
keys [PATCH] Keys: Remove key duplication
linux fix MTIME_SEC_MAX on 32-bit
math-emu Linux-2.6.12-rc2
media V4L: saa7146: Fix allocation of clipping memory
mtd [MTD] user-abi: Clean up trailing white spaces
net [IFB]: Fix crash on input device removal
pcmcia [PATCH] pcmcia: Add macro to match PCMCIA cards by numeric ID and first vendor string
rdma IB: Add node_guid to struct ib_device
rxrpc [PATCH] gfp flags annotations - part 1
scsi [PATCH] add scsi_execute_in_process_context() API
sound [ALSA] Fix invalid assignment of PCI revision
video [PATCH] neofb: avoid resetting display config on unblank (v2)