24 Sep, 2009

1 commit

  • * remove asm/atomic.h inclusion from linux/utsname.h --
    not needed after kref conversion
    * remove linux/utsname.h inclusion from files which do not need it

    NOTE: it looks like fs/binfmt_elf.c do not need utsname.h, however
    due to some personality stuff it _is_ needed -- cowardly leave ELF-related
    headers and files alone.

    Signed-off-by: Alexey Dobriyan
    Signed-off-by: Linus Torvalds

    Alexey Dobriyan
     

19 Sep, 2009

1 commit


07 Apr, 2009

2 commits


30 Mar, 2009

2 commits


29 Jan, 2009

1 commit


22 Oct, 2008

1 commit

  • The kernel number of a v4l2 node (e.g. videoX, radioX or vbiX) is now
    independent of the minor number. So instead of using the minor field
    of the video_device struct one has to use the num field: this always
    contains the kernel number of the device node.

    I forgot about this when I did the v4l2 core change, so this patch
    converts all drivers that use it in one go. Luckily the change is
    trivial.

    Cc: michael@mihu.de
    Cc: mchehab@infradead.org
    Cc: corbet@lwn.net
    Cc: luca.risolia@studio.unibo.it
    Cc: isely@pobox.com
    Cc: pe1rxq@amsat.org
    Cc: royale@zerezo.com
    Cc: mkrufky@linuxtv.org
    Cc: stoth@linuxtv.org
    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     

12 Oct, 2008

1 commit


20 Jul, 2008

1 commit


25 Apr, 2008

2 commits


14 Oct, 2007

1 commit


10 Oct, 2007

1 commit

  • I2C adapters should only support I2C_M_REV_DIR_ADDR if they really have
    to (i.e. if they are connected to a broken I2C device which needs this
    deviation from the standard I2C protocol.) As no media chip driver
    uses I2C_M_REV_DIR_ADDR, I don't think that the usbvision driver needs
    to support it.

    Signed-off-by: Jean Delvare
    Acked-by: Thierry Merle
    Signed-off-by: Mauro Carvalho Chehab

    Jean Delvare
     

28 Apr, 2007

5 commits


15 Feb, 2007

1 commit

  • After Al Viro (finally) succeeded in removing the sched.h #include in module.h
    recently, it makes sense again to remove other superfluous sched.h includes.
    There are quite a lot of files which include it but don't actually need
    anything defined in there. Presumably these includes were once needed for
    macros that used to live in sched.h, but moved to other header files in the
    course of cleaning it up.

    To ease the pain, this time I did not fiddle with any header files and only
    removed #includes from .c-files, which tend to cause less trouble.

    Compile tested against 2.6.20-rc2 and 2.6.20-rc2-mm2 (with offsets) on alpha,
    arm, i386, ia64, mips, powerpc, and x86_64 with allnoconfig, defconfig,
    allmodconfig, and allyesconfig as well as a few randconfigs on x86_64 and all
    configs in arch/arm/configs on arm. I also checked that no new warnings were
    introduced by the patch (actually, some warnings are removed that were emitted
    by unnecessarily included header files).

    Signed-off-by: Tim Schmielau
    Acked-by: Russell King
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Tim Schmielau
     

14 Feb, 2007

1 commit

  • Declare the parent device of i2c_adapter devices each time we can
    easily do so. It makes the i2c_adapter appear at the right place in
    the device tree, rather than as a platform device.

    Signed-off-by: Jean Delvare
    Cc: David Brownell
    Cc: Len Brown
    Cc: Jordan Crouse
    Cc: Jody McIntyre
    Cc: Stefan Richter
    Cc: v4l-dvb-maintainer@linuxtv.org
    Cc: Petr Vandrovec

    Jean Delvare
     

28 Dec, 2006

1 commit

  • - fix decompression buffer allocation not done at first driver open
    - simplification of USB sbuf allocation (use of usb_buffer_alloc)
    - replaced vmalloc by vmalloc_32 (for homogeneity)
    - add of saa7111 (i2cAddr=0x48) detection printout in attach_inform

    Signed-off-by: Thierry MERLE
    Signed-off-by: Mauro Carvalho Chehab

    Thierry MERLE
     

27 Dec, 2006

2 commits


12 Dec, 2006

1 commit

  • i2c defines two callbacks (inb/outb). On ia64, since it defines also two macros
    with those names, it causes the following errors:
    drivers/media/video/usbvision/usbvision-i2c.c:64:39: macro "outb" passed 4 arguments, but takes just 2
    drivers/media/video/usbvision/usbvision-i2c.c: In function `try_write_address':
    drivers/media/video/usbvision/usbvision-i2c.c:64: warning: assignment makes integer from pointer without a cast
    drivers/media/video/usbvision/usbvision-i2c.c:89:38: macro "inb" passed 4 arguments, but takes just 1
    drivers/media/video/usbvision/usbvision-i2c.c: In function `try_read_address':
    drivers/media/video/usbvision/usbvision-i2c.c:89: warning: assignment makes integer from pointer without a cast
    drivers/media/video/usbvision/usbvision-i2c.c:85: warning: unused variable `buf'
    drivers/media/video/usbvision/usbvision-i2c.c:173:53: macro "inb" passed 4 arguments, but takes just 1
    drivers/media/video/usbvision/usbvision-i2c.c: In function `usb_xfer':
    drivers/media/video/usbvision/usbvision-i2c.c:173: warning: assignment makes integer from pointer without a cast
    drivers/media/video/usbvision/usbvision-i2c.c:179:54: macro "outb" passed 4 arguments, but takes just 2
    drivers/media/video/usbvision/usbvision-i2c.c:179: warning: assignment makes integer from pointer without a cast
    thanks to Andrew Morton for pointing this.

    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     

10 Dec, 2006

5 commits

  • Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     
  • - removal of overlay stuff
    - reorganization of functions in 3 files:
    * usbvision-i2c for I2C-related stuff
    * usbvision-video for v4l2 entry points
    * usbvision-core for all peripheral controls and utilities

    Signed-off-by: Thierry MERLE
    Signed-off-by: Mauro Carvalho Chehab

    Thierry MERLE
     
  • Enhance the buffer management of this driver + some corrections
    - linux list.h usage for buffer management
    - VIDIOC_ENUMSTD/VIDIOC_G_STD/VIDIOC_S_STD simplification (use of
    v4l2_video_std_construct)
    - create_sysfs : remove of warnings for video_device_create_file return code
    - make the driver compatible with 2.6.19 kernel version (remove
    slave_send and slave_recv in usbvision-i2c, change ctrlUrb_complete
    function prototype)
    - deactivated v4l2_read because this code was not the priority but
    working on it :)

    Signed-off-by: Thierry MERLE
    Signed-off-by: Mauro Carvalho Chehab

    Thierry MERLE
     
  • Found the bug that prevented the driver from loading : a module
    param conflict between usbvision-i2c and usbvision-core (debug
    parameter).
    - correct the module param "debug" conflics in usbvision-i2c.c and
    usbvision-core.c
    - add some debug printouts in usbvision-core.c VDIOC_QBUF/VIDIOC_DQBUF
    - usbvision-core.c : add vb->field = V4L2_FIELD_NONE in VIDIOC_DQBUF

    Signed-off-by: Thierry MERLE
    Signed-off-by: Mauro Carvalho Chehab

    Thierry MERLE
     
  • This patch adds usbvision into V4L/DVB HG tree.
    Usbvision driver is a GPL driver, made by:
    Joerg Heckenbach
    and
    Dwaine Garden
    V4L2 migration made by:
    Thierry Merle
    Kconfig/Makefile scripts by:
    Mauro Carvalho Chehab

    Signed-off-by: Joerg Heckenbach
    Signed-off-by: Dwaine Garden
    Signed-off-by: Thierry Merle
    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab