linux/drivers/media
Philipp Zabel e11f3e6ef6 [media] media: coda: keep track of active instances
Determining the next free instance just by incrementing and decrementing
an instance counter does not work: if there are two instances opened,
0 and 1, and instance 0 is released, the next call to coda_open will
create a new instance with index 1, but instance 1 is already in use.
Instead, scan a bitfield of active instances to determine the first
free instance index.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Tested-by: Javier Martin <javier.martin@vista-silicon.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-09-26 16:36:57 -03:00
..
common [media] v4l2: make vidioc_s_fbuf const 2012-09-26 10:42:36 -03:00
dvb-core [media] dvb_frontend: add multistream support 2012-09-23 20:59:32 -03:00
dvb-frontends [media] stv090x: add support for multistream 2012-09-23 21:27:19 -03:00
firewire [media] Fix some Makefile rules 2012-08-16 19:55:03 -03:00
i2c [media] v4l2: make vidioc_s_crop const 2012-09-26 11:02:25 -03:00
mmc [media] Fix some Makefile rules 2012-08-16 19:55:03 -03:00
parport [media] Add missing help for some menuconfig items 2012-08-21 08:17:37 -03:00
pci [media] Set vfl_dir for all display or m2m drivers 2012-09-26 11:57:06 -03:00
platform [media] media: coda: keep track of active instances 2012-09-26 16:36:57 -03:00
radio [media] v4l2: make vidioc_s_modulator const 2012-09-26 10:58:02 -03:00
rc [media] winbond-cir: asynchronous tx 2012-09-25 14:08:46 -03:00
tuners [media] v4l2: remove experimental tag from a number of old drivers 2012-09-26 09:44:42 -03:00
usb [media] Set vfl_dir for all display or m2m drivers 2012-09-26 11:57:06 -03:00
v4l2-core [media] vb2: fix wrong owner check 2012-09-26 15:44:11 -03:00
Kconfig [media] Kconfig: merge all customise options into just one 2012-08-21 08:05:06 -03:00
Makefile [media] move i2c files into drivers/media/i2c 2012-09-06 18:42:54 -03:00
media-device.c [media] media: fix MEDIA_IOC_DEVICE_INFO return code 2012-08-12 07:57:57 -03:00
media-devnode.c Disintegrate and delete asm/system.h 2012-03-28 15:58:21 -07:00
media-entity.c [media] media: Add link_validate() op to check links to the sink pad 2012-05-14 08:44:11 -03:00