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
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
..
common [media] siano: just return 0 instead of using a var 2014-09-03 17:59:27 -03:00
dvb-core [media] ngene: properly handle __user ptr 2014-09-08 10:00:52 -03:00
dvb-frontends [media] drxk_hard: fix bad alignments 2014-09-03 19:19:18 -03:00
firewire firewire: introduce fw_driver.probe and .remove methods 2013-06-09 18:15:00 +02:00
i2c [media] lm3560: simplify boolean tests 2014-09-03 17:59:24 -03:00
mmc
parport [media] v4l: Support extending the v4l2_pix_format structure 2014-07-17 12:44:47 -03:00
pci [media] tw68: simplify tw68_buffer_count 2014-09-08 16:40:16 -03:00
platform [media] vivid: tpg_reset_source prototype mismatch 2014-09-08 10:00:58 -03:00
radio [media] radio: use true/false for boolean vars 2014-09-03 17:59:20 -03:00
rc [media] nuvoton-cir: just return 0 instead of using a var 2014-09-03 17:59:55 -03:00
tuners [media] m88ts2022: change parameter type of m88ts2022_cmd 2014-09-08 10:00:55 -03:00
usb [media] trivial: drivers/media/usb/gspca/gspca.h: indent with TABs, not spaces 2014-09-08 10:00:57 -03:00
v4l2-core [media] tuner-core: use true/false for boolean vars 2014-09-03 17:59:14 -03:00
Kconfig [media] Kconfig: sub-driver auto-select SPI bus 2014-07-21 20:34:12 -03:00
Makefile
media-device.c [media] media-device: Remove duplicated memset() in media_enum_entities() 2014-07-22 01:02:52 -03:00
media-devnode.c [media] media-devnode: just return 0 instead of using a var 2014-09-03 17:59:28 -03:00
media-entity.c [media] media: Check for active links on pads with MEDIA_PAD_FL_MUST_CONNECT flag 2013-12-04 15:03:45 -02:00