2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 20:53:53 +08:00
linux-next/drivers/media/pci/tw68
Hans Verkuil 947b38bb11 [media] tw68: simplify tw68_buffer_count
The code to calculate the maximum number of buffers allowed in 4 MB
is 1) wrong if PAGE_SIZE != 4096 and 2) unnecessarily complex.

Fix and simplify the code.

Reported-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2014-09-08 16:40:16 -03:00
..
Kconfig
Makefile
tw68-core.c [media] tw68: make tw68_pci_tbl static and constify 2014-09-04 11:31:58 -03:00
tw68-reg.h
tw68-risc.c
tw68-video.c [media] tw68: simplify tw68_buffer_count 2014-09-08 16:40:16 -03:00
tw68.h