linux/drivers/media
Laurent Pinchart 8c89ddd536 [media] media: Fix media device minor registration
The find_next_zero_bit() is called with the from and to arguments in the
wrong order. This results in the function always returning 0, and all
media devices being registered with minor 0. Furthermore, mdev->minor is
then used before being assigned with the find_next_zero_bit() return
value. This really makes sure we'll always use minor 0.

Fix this and let the system support more than one media device.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: stable@kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2011-06-01 13:24:23 -03:00
..
common [media] DVB: mxl5005s: handle new bandwidths by returning -EINVAL 2011-05-20 19:04:59 -03:00
dvb [media] anysee: return EOPNOTSUPP for unsupported I2C messages 2011-06-01 08:34:45 -03:00
radio Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 2011-05-27 10:14:22 -07:00
rc [media] v1.88 DM04/QQBOX Move remote to use rc_core dvb-usb-remote 2011-05-25 21:50:17 -03:00
video [media] Make nchg variable signed because the code compares this variable against negative values 2011-06-01 12:20:57 -03:00
Kconfig [media] v4l: Create v4l2 subdev file handle structure 2011-03-22 04:53:26 -03:00
Makefile [media] media: Entities, pads and links 2011-03-22 04:53:10 -03:00
media-device.c [media] media: Links setup 2011-03-22 04:53:16 -03:00
media-devnode.c [media] media: Fix media device minor registration 2011-06-01 13:24:23 -03:00
media-entity.c [media] media: Properly handle link flags in link setup, link notify callback 2011-04-17 07:43:32 -03:00