01 Aug, 2012

1 commit

  • Pull second set of media updates from Mauro Carvalho Chehab:

    - radio API: add support to work with radio frequency bands

    - new AM/FM radio drivers: radio-shark, radio-shark2

    - new Remote Controller USB driver: iguanair

    - conversion of several drivers to the v4l2 core control framework

    - new board additions at existing drivers

    - the remaining (and vast majority of the patches) are due to
    drivers/DocBook fixes/cleanups.

    * 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (154 commits)
    [media] radio-tea5777: use library for 64bits div
    [media] tlg2300: Declare MODULE_FIRMWARE usage
    [media] lgs8gxx: Declare MODULE_FIRMWARE usage
    [media] xc5000: Add MODULE_FIRMWARE statements
    [media] s2255drv: Add MODULE_FIRMWARE statement
    [media] dib8000: move dereference after check for NULL
    [media] Documentation: Update cardlists
    [media] bttv: add support for Aposonic W-DVR
    [media] cx25821: Remove bad strcpy to read-only char*
    [media] pms.c: remove duplicated include
    [media] smiapp-core.c: remove duplicated include
    [media] via-camera: pass correct format settings to sensor
    [media] rtl2832.c: minor cleanup
    [media] Add support for the IguanaWorks USB IR Transceiver
    [media] Minor cleanups for MCE USB
    [media] drivers/media/dvb/siano/smscoreapi.c: use list_for_each_entry
    [media] Use a named union in struct v4l2_ioctl_info
    [media] mceusb: Add Twisted Melon USB IDs
    [media] staging/media/solo6x10: use module_pci_driver macro
    [media] staging/media/dt3155v4l: use module_pci_driver macro
    ...

    Conflicts:
    Documentation/feature-removal-schedule.txt

    Linus Torvalds
     

31 Jul, 2012

4 commits

  • Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     
  • Forwarded-by: Gerd Hoffmann
    Signed-off-by: Mauro Carvalho Chehab

    Tony Gentile
     
  • Pull media updates from Mauro Carvalho Chehab:
    "This is the first part of the media patches for v3.6.

    This patch series contain:
    - new DVB frontend: rtl2832
    - new video drivers: adv7393
    - some unused files got removed
    - a selection API cleanup between V4L2 and V4L2 subdev API's
    - a major redesign at v4l-ioctl2, in order to clean it up
    - several driver fixes and improvements."

    * 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (174 commits)
    v4l: Export v4l2-common.h in include/linux/Kbuild
    media: Revert "[media] Terratec Cinergy S2 USB HD Rev.2"
    [media] media: Use pr_info not homegrown pr_reg macro
    [media] Terratec Cinergy S2 USB HD Rev.2
    [media] v4l: Correct conflicting V4L2 subdev selection API documentation
    [media] Feature removal: V4L2 selections API target and flag definitions
    [media] v4l: Unify selection flags documentation
    [media] v4l: Unify selection flags
    [media] v4l: Common documentation for selection targets
    [media] v4l: Unify selection targets across V4L2 and V4L2 subdev interfaces
    [media] v4l: Remove "_ACTUAL" from subdev selection API target definition names
    [media] V4L: Remove "_ACTIVE" from the selection target name definitions
    [media] media: dvb-usb: print mac address via native %pM
    [media] s5p-tv: Use module_i2c_driver in sii9234_drv.c file
    [media] media: gpio-ir-recv: add allowed_protos for platform data
    [media] s5p-jpeg: Use module_platform_driver in jpeg-core.c file
    [media] saa7134: fix spelling of detach in label
    [media] cx88-blackbird: replace ioctl by unlocked_ioctl
    [media] cx88: don't use current_norm
    [media] cx88: fix a number of v4l2-compliance violations
    ...

    Linus Torvalds
     
  • This patch simply adds a newline character at end-of-file to those
    files in Documentation/ that currently lack one.

    This is done for a few different reasons:

    A) It's rather annoying when you do "cat some_file.txt" that your
    prompt/cursor ends up at the end of the last line of output rather
    than on a new line.

    B) Some tools that process files line-by-line may get confused by the
    lack of a newline on the last line.

    C) The "\ No newline at end of file" line in diffs annoys me for some
    reason.

    So, let's just add the missing newline once and for all.

    Signed-off-by: Jesper Juhl
    Signed-off-by: Mauro Carvalho Chehab

    Jesper Juhl
     

21 Jul, 2012

1 commit

  • This patch simply adds a newline character at end-of-file to those
    files in Documentation/ that currently lack one.

    This is done for a few different reasons:

    A) It's rather annoying when you do "cat some_file.txt" that your
    prompt/cursor ends up at the end of the last line of output rather
    than on a new line.

    B) Some tools that process files line-by-line may get confused by the
    lack of a newline on the last line.

    C) The "\ No newline at end of file" line in diffs annoys me for some
    reason.

    So, let's just add the missing newline once and for all.

    Signed-off-by: Jesper Juhl
    Signed-off-by: Jiri Kosina

    Jesper Juhl
     

07 Jul, 2012

1 commit


25 May, 2012

1 commit

  • Pull media updates from Mauro Carvalho Chehab:
    - some V4L2 API updates needed by embedded devices
    - DVB API extensions for ATSC-MH delivery system, used in US for mobile
    TV
    - new tuners for fc0011/0012/0013 and tua9001
    - a new dvb driver for af9033/9035
    - a new ATSC-MH frontend (lg2160)
    - new remote controller keymaps
    - Removal of a few legacy webcam driver that got replaced by gspca on
    several kernel versions ago
    - a new driver for Exynos 4/5 webcams(s5pp fimc-lite)
    - a new webcam sensor driver (smiapp)
    - a new video input driver for embedded (sta2x1xx)
    - several improvements, fixes, cleanups, etc inside the drivers.

    Manually fix up conflicts due to err() -> dev_err() conversion in
    drivers/staging/media/easycap/easycap_main.c

    * 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (484 commits)
    [media] saa7134-cards: Remove a PCI entry added by mistake
    [media] radio-sf16fmi: add support for SF16-FMD
    [media] rc-loopback: remove duplicate line
    [media] patch for Asus My Cinema PS3-100 (1043:48cd)
    [media] au0828: Move the Kconfig knob under V4L_USB_DRIVERS
    [media] em28xx: simple comment fix
    [media] [resend] radio-sf16fmr2: add PnP support for SF16-FMD2
    [media] smiapp: Use v4l2_ctrl_new_int_menu() instead of v4l2_ctrl_new_custom()
    [media] smiapp: Add support for 8-bit uncompressed formats
    [media] smiapp: Allow generic quirk registers
    [media] smiapp: Use non-binning limits if the binning limit is zero
    [media] smiapp: Initialise rval in smiapp_read_nvm()
    [media] smiapp: Round minimum pre_pll up rather than down in ip_clk_freq check
    [media] smiapp: Use 8-bit reads only before identifying the sensor
    [media] smiapp: Quirk for sensors that only do 8-bit reads
    [media] smiapp: Pass struct sensor to register writing commands instead of i2c_client
    [media] smiapp: Allow using external clock from the clock framework
    [media] zl10353: change .read_snr() to report SNR as a 0.1 dB
    [media] media: add support to gspca/pac7302.c for 093a:2627 (Genius FaceCam 300)
    [media] m88rs2000 - only flip bit 2 on reg 0x70 on 16th try
    ...

    Linus Torvalds
     

20 May, 2012

1 commit


15 May, 2012

3 commits


14 May, 2012

5 commits

  • Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     
  • Using the V4L2 core lock is a very robust method that is usually very good
    at doing the right thing. But some drivers, particularly USB drivers, may
    want to prevent the core from taking the lock for specific ioctls, particularly
    buffer queuing ioctls.

    The reason is that certain commands like S_CTRL can take a long time to process
    over USB and all the time the core has the lock, preventing VIDIOC_DQBUF from
    proceeding, even though a frame may be ready in the queue.

    This introduces unwanted latency.

    Since the buffer queuing commands often have their own internal lock it is
    often not necessary to take the core lock. Drivers can now say that they don't
    want the core to take the lock for specific ioctls.

    As it is a specific opt-out it makes it clear to the reviewer that those
    ioctls will need more care when reviewing.

    Signed-off-by: Hans Verkuil
    Acked-by: Hans de Goede
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     
  • v4l2_subdev_link_validate() is the default op for validating a link. In V4L2
    subdev context, it is used to call a pad op which performs the proper link
    check without much extra work.

    Signed-off-by: Sakari Ailus
    Acked-by: Laurent Pinchart
    Signed-off-by: Mauro Carvalho Chehab

    Sakari Ailus
     
  • Document that format related configuration is done through pad ops in case
    the driver does use the media framework.

    Signed-off-by: Sakari Ailus
    Acked-by: Laurent Pinchart
    Signed-off-by: Mauro Carvalho Chehab

    Sakari Ailus
     
  • Document guidelines how 4CC codes should be named. Only raw bayer is
    included currently. Other formats should be documented later on.

    Signed-off-by: Sakari Ailus
    Signed-off-by: Mauro Carvalho Chehab

    Sakari Ailus
     

08 May, 2012

1 commit

  • Just like with ctrl events, drivers may want to get called back on
    listener add / remove for other event types too. Rather then special
    casing all of this in subscribe / unsubscribe event it is better to
    use ops for this.

    Signed-off-by: Hans de Goede
    Acked-by: Hans Verkuil
    Signed-off-by: Laurent Pinchart
    Signed-off-by: Mauro Carvalho Chehab

    Hans de Goede
     

20 Apr, 2012

1 commit

  • Both radio-keene and dsbr100 did one v4l2_device_get too many. Thus the refcount
    never became 0 and that causes a memory leak.

    Also updated the V4L2 framework documentation accordingly.

    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     

09 Apr, 2012

1 commit


06 Apr, 2012

1 commit


31 Mar, 2012

1 commit

  • Usage of /etc/modprobe.conf file was deprecated by module-init-tools and
    is no longer parsed by new kmod tool. References to this file are
    replaced in Documentation, comments and Kconfig according to the
    context.

    There are also some references to the old /etc/modules.conf from 2.4
    kernels that are being removed.

    Signed-off-by: Lucas De Marchi
    Acked-by: Takashi Iwai
    Acked-by: Mauro Carvalho Chehab
    Signed-off-by: Randy Dunlap
    Signed-off-by: Linus Torvalds

    Lucas De Marchi
     

24 Mar, 2012

1 commit

  • Pull media updates from Mauro Carvalho Chehab:
    - V4L2 API additions to better support JPEG compression control
    - media API additions to properly support MPEG decoders
    - V4L2 API additions for image crop/scaling
    - a few other V4L2 API DocBook fixes/improvements
    - two new DVB frontend drivers: m88rs2000 and rtl2830
    - two new DVB drivers: az6007 and rtl28xxu
    - a framework for ISA drivers, that removed lots of common code found
    at the ISA radio drivers
    - a new FM transmitter driver (radio-keene)
    - a GPIO-based IR receiver driver
    - a new sensor driver: mt9m032
    - some new video drivers: adv7183, blackfin, mx2_emmaprp, sii9234_drv,
    vs6624
    - several new board additions, driver fixes, improvements and cleanups.

    * 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (295 commits)
    [media] update CARDLIST.em28xx
    [media] partially reverts changeset fa5527c
    [media] stb0899: fix the limits for signal strength values
    [media] em28xx: support for 2304:0242 PCTV QuatroStick (510e)
    [media] em28xx: support for 2013:0251 PCTV QuatroStick nano (520e)
    [media] -EINVAL -> -ENOTTY
    [media] gspca - sn9c20x: Cleanup source
    [media] gspca - sn9c20x: Simplify register write for capture start/stop
    [media] gspca - sn9c20x: Add automatic JPEG compression mechanism
    [media] gspca - sn9c20x: Greater delay in case of sensor no response
    [media] gspca - sn9c20x: Optimize the code of write sequences
    [media] gspca - sn9c20x: Add the JPEG compression quality control
    [media] gspca - sn9c20x: Add a delay after Omnivision sensor reset
    [media] gspca - sn9c20x: Propagate USB errors to higher level
    [media] gspca - sn9c20x: Use the new video control mechanism
    [media] gspca - sn9c20x: Fix loss of frame start
    [media] gspca - zc3xx: Lack of register 08 value for sensor cs2102k
    [media] gspca - ov534_9: Add brightness to OmniVision 5621 sensor
    [media] gspca - zc3xx: Add V4L2_CID_JPEG_COMPRESSION_QUALITY control support
    [media] pvrusb2: fix 7MHz & 8MHz DVB-T tuner support for HVR1900 rev D1F5
    ...

    Linus Torvalds
     

20 Mar, 2012

1 commit


08 Mar, 2012

2 commits


07 Mar, 2012

1 commit


02 Mar, 2012

1 commit


16 Jan, 2012

1 commit


06 Jan, 2012

2 commits


31 Dec, 2011

1 commit


26 Nov, 2011

1 commit


17 Nov, 2011

1 commit


07 Nov, 2011

3 commits


24 Sep, 2011

2 commits


23 Sep, 2011

1 commit