26 Apr, 2008

1 commit


25 Apr, 2008

36 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86-fixes:
    "make namespacecheck" fixes
    x86: fix compilation error in VisWS
    x86: voyager fix
    x86: Drop duplicate from setup.c
    intel-iommu.c: dma ops fix

    Linus Torvalds
     
  • Signed-off-by: Ingo Molnar

    Ingo Molnar
     
  • * git://git.linux-nfs.org/projects/trondmy/nfs-2.6: (80 commits)
    SUNRPC: Invalidate the RPCSEC_GSS session if the server dropped the request
    make nfs_automount_list static
    NFS: remove duplicate flags assignment from nfs_validate_mount_data
    NFS - fix potential NULL pointer dereference v2
    SUNRPC: Don't change the RPCSEC_GSS context on a credential that is in use
    SUNRPC: Fix a race in gss_refresh_upcall()
    SUNRPC: Don't disconnect more than once if retransmitting NFSv4 requests
    SUNRPC: Remove the unused export of xprt_force_disconnect
    SUNRPC: remove XS_SENDMSG_RETRY
    SUNRPC: Protect creds against early garbage collection
    NFSv4: Attempt to use machine credentials in SETCLIENTID calls
    NFSv4: Reintroduce machine creds
    NFSv4: Don't use cred->cr_ops->cr_name in nfs4_proc_setclientid()
    nfs: fix printout of multiword bitfields
    nfs: return negative error value from nfs{,4}_stat_to_errno
    NLM/lockd: Ensure client locking calls use correct credentials
    NFS: Remove the buggy lock-if-signalled case from do_setlk()
    NLM/lockd: Fix a race when cancelling a blocking lock
    NLM/lockd: Ensure that nlmclnt_cancel() returns results of the CANCEL call
    NLM: Remove the signal masking in nlmclnt_proc/nlmclnt_cancel
    ...

    Linus Torvalds
     
  • * 'for-linus' of git://linux-nfs.org/~bfields/linux: (52 commits)
    knfsd: clear both setuid and setgid whenever a chown is done
    knfsd: get rid of imode variable in nfsd_setattr
    SUNRPC: Use unsigned loop and array index in svc_init_buffer()
    SUNRPC: Use unsigned index when looping over arrays
    SUNRPC: Update RPC server's TCP record marker decoder
    SUNRPC: RPC server still uses 2.4 method for disabling TCP Nagle
    NLM: don't let lockd exit on unexpected svc_recv errors (try #2)
    NFS: don't let nfs_callback_svc exit on unexpected svc_recv errors (try #2)
    Use a zero sized array for raw field in struct fid
    nfsd: use static memory for callback program and stats
    SUNRPC: remove svc_create_thread()
    nfsd: fix comment
    lockd: Fix stale nlmsvc_unlink_block comment
    NFSD: Strip __KERNEL__ testing from unexported header files.
    sunrpc: make token header values less confusing
    gss_krb5: consistently use unsigned for seqnum
    NFSD: Remove NFSv4 dependency on NFSv3
    SUNRPC: Remove PROC_FS dependency
    NFSD: Use "depends on" for PROC_FS dependency
    nfsd: move most of fh_verify to separate function
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb: (452 commits)
    V4L/DVB (7731): tuner-xc2028: fix signal strength calculus
    V4L/DVB (7730): tuner-xc2028: Fix SCODE load for MTS firmwares
    V4L/DVB (7729): Fix VIDIOCGAP corruption in ivtv
    V4L/DVB (7728): tea5761: bugzilla #10462: tea5761 autodetection code were broken
    V4L/DVB (7726): cx23885: Enable cx23417 support on the HVR1800
    V4L/DVB (7725): cx23885: Add generic cx23417 hardware encoder support
    V4L/DVB (7723): pvrusb2: Clean up input selection list generation in V4L interface
    V4L/DVB (7722): pvrusb2: Implement FM radio support for Gotview USB2.0 DVD 2
    V4L/DVB (7721): pvrusb2: Restructure cx23416 firmware loading to have a common exit point
    V4L/DVB (7720): pvrusb2: Fix bad error code on cx23416 firmware load failure
    V4L/DVB (7719): pvrusb2: Implement input selection enforcement
    V4L/DVB (7718): pvrusb2-dvb: update Kbuild selections
    V4L/DVB (7717): pvrusb2-dvb: add DVB-T support for Hauppauge pvrusb2 model 73xxx
    V4L/DVB (7716): pvrusb2: clean up global functions
    V4L/DVB (7715): pvrusb2: Clean out all use of __FUNCTION__
    V4L/DVB (7714): pvrusb2: Fix hang on module removal
    V4L/DVB (7713): pvrusb2: Implement cleaner DVB kernel thread shutdown
    V4L/DVB (7712): pvrusb2: Close connect/disconnect race
    V4L/DVB (7711): pvrusb2: Fix race on module unload
    V4L/DVB (7710): pvrusb2: Implement critical digital streaming quirk for onair devices
    ...

    Linus Torvalds
     
  • Trond Myklebust
     
  • Beholder TV/FM tuners:

    Changes:
    Add support Beholder Columbus PCMCIA card.
    Add key map for remote control of Beholder Columbus PCMCIA card.
    Fix gpiomask for all Beholder tuners.

    Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov
    Signed-off-by: Mauro Carvalho Chehab

    Dmitry Belimov
     
  • Added default vidioc handler for other private ioctls

    Signed-off-by: Douglas Schilling Landgraf
    Signed-off-by: Mauro Carvalho Chehab

    Douglas Schilling Landgraf
     
  • Adding support for a new i2c bridge type

    Signed-off-by: Steven Toth
    Signed-off-by: Mauro Carvalho Chehab

    Steven Toth
     
  • videobuf-dvb were still using a function that were videobuf-dma-sg
    dependent. This patch creates a generic handler for this function. This
    way, videobuf-dvb can now work with all videobuf implementations.

    Signed-off-by: Mauro Carvalho Chehab

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

    Mauro Carvalho Chehab
     
  • The adapter_nr module options can be used to allocate static adapter
    numbers on a driver level. It avoids problems with changing DVB apapter
    numbers after warm/cold boot or device unplugging and repluging.

    Each driver holds DVB_MAX_ADAPTER long array of the preferred order of
    adapter numbers.

    options dvb-usb-dib0700 adapter_nr=7,6,5,4,3,2,1,0 would result in a
    reversed allocation of adapter numbers.

    With adapter_nr=2,5 it tries first to get adapter number 2 and 5. If
    both are already in use it will allocate the lowest free adapter number.

    Signed-off-by: Janne Grunau
    Acked-by: Hermann Pitton
    Signed-off-by: Michael Krufky
    Signed-off-by: Mauro Carvalho Chehab

    Janne Grunau
     
  • The attached patch adds complete remote control support for Powercolor Real
    Angel 330.

    Signed-off-by: Daniel Fraga
    Signed-off-by: Mauro Carvalho Chehab

    Dâniel Fraga
     
  • All drivers should provide a spinlock to be used in videobuf operations.

    Signed-off-by: Guennadi Liakhovetski
    Reviewed-by: Brandon Philips
    Signed-off-by: Mauro Carvalho Chehab

    Guennadi Liakhovetski
     
  • Function pointers and the driver owner are not expected to change
    throughout soc-camera host's life. Extract them into an operations struct.

    Signed-off-by: Guennadi Liakhovetski
    Signed-off-by: Mauro Carvalho Chehab

    Guennadi Liakhovetski
     
  • Add a waitqueue to wait on when there are no buffers in the buffer queue.
    DQBUF waits on this queue without holding vb_lock to allow a QBUF to happen.
    Once a buffer has been queued we recheck that the queue is still streaming and
    wait on the new buffer's waitqueue while holding the vb_lock. The driver
    should come along in a timely manner and put the buffer into its next state
    finishing the DQBUF.

    By implementing this waitqueue it also brings the videobuf DQBUF up to spec and
    it now blocks on O_NONBLOCK even when no buffers have been queued via QBUF:

    "By default VIDIOC_DQBUF blocks when no buffer is in the outgoing queue."
    - V4L2 spec

    Signed-off-by: Brandon Philips
    CC: Trent Piepho
    CC: Carl Karsten
    CC: Jonathan Corbet
    Signed-off-by: Mauro Carvalho Chehab

    Brandon Philips
     
  • Define a pre-defined control ID for color killer functionality.

    Signed-off-by: "Frej Drejhammar "
    Signed-off-by: Mauro Carvalho Chehab

    Frej Drejhammar
     
  • Define a pre-defined control ID for chroma automatic gain control.

    Signed-off-by: "Frej Drejhammar "
    Signed-off-by: Mauro Carvalho Chehab

    Frej Drejhammar
     
  • In case of muliple cameras, handled by the same driver, they can support

    Signed-off-by: Mauro Carvalho Chehab

    Guennadi Liakhovetski
     
  • TUNER_PHILIPS_ATSC is an ambiguous name for a tuner. Rename it to
    TUNER_PHILIPS_FCV1236D to be more descriptive.

    Signed-off-by: Michael Krufky
    Signed-off-by: Mauro Carvalho Chehab

    Michael Krufky
     
  • Make the dev member of the struct videobuf_queue of type "struct device *"
    to avoid future problems. Also change the prototype of the
    videobuf_queue_core_init() function.

    Signed-off-by: Guennadi Liakhovetski
    Signed-off-by: Mauro Carvalho Chehab

    Guennadi Liakhovetski
     
  • Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     
  • Enable digital tuning support within tuner-simple. This will allow for a
    single tuner module to manage the hardware, without having dvb-pll loaded.

    Signed-off-by: Michael Krufky
    Signed-off-by: Mauro Carvalho Chehab

    Michael Krufky
     
  • taken from dvb-pll

    Signed-off-by: Michael Krufky
    Signed-off-by: Mauro Carvalho Chehab

    Michael Krufky
     
  • Add entry points used for digital tuning via the dvb_frontend.

    Share state data between multiple instances of the driver for hybrid
    tuners.

    Signed-off-by: Michael Krufky
    Signed-off-by: Mauro Carvalho Chehab

    Michael Krufky
     
  • Improve hardware parameter negotiation between the camera host driver and
    camera drivers. Parameters like horizontal and vertical synchronisation,
    pixel clock polarity shall be set depending on capabilities of the
    parties.

    Signed-off-by: Guennadi Liakhovetski
    Signed-off-by: Mauro Carvalho Chehab

    Guennadi Liakhovetski
     
  • Currently (in linux-2.6.24, but linux-dvb hg looks similar), the
    dmx_output_t in the dmx_pes_filter_params decides two things: whether
    output is sent to demux0 or dvr0 (in dmxdev.c:dvb_dmxdev_ts_callback),
    *and* whether to depacketise TS (in dmxdev.c:dvb_dmxdev_filter_start).
    As it stands, those two things can't be set independently: output
    destined for demux0 is depacketised, output for dvr0 isn't.

    This is what you want for capturing multiple audio streams from the same
    multiplex simultaneously: open demux0 several times and send
    depacketised output there. And capturing a single video stream is fine
    not what you want: you want multi-open (so demux0, not dvr0), but you
    want the TS nature preserved (because that's what you want on output, as
    you're going to re-multiplex it with the audio).

    At least one existing solution -- GStreamer -- sends all its streams
    simultaneously via dvr0 and demuxes again in userland, but it seems a
    bit of a shame to pick out all the PIDs in kernel, stick them back
    together in kernel, and send them to userland only to get unpicked
    again, when the alternative is such a small API addition.

    The attached patch adds a new value for dmx_output_t:
    DMX_OUT_TSDEMUX_TAP, which sends TS to the demux0 device. With this
    patch and a dvb-usb-dib0700 (and UK Freeview from Sandy Heath), I can
    successfully capture an audio/video PID pair into a TS file that mplayer
    can play back.

    Signed-off-by: Peter Hartley
    Acked-by: Andreas Oberritter
    Signed-off-by: Mauro Carvalho Chehab

    Peter Hartley
     
  • Only attach cameras to the host interface for probing, then detach until
    open. This allows platforms with several cameras on an interface,
    physically supporting only one camera, to handle multiple cameras and
    activate them selectively after initial probing. The first attach during
    probe is needed to activate the host interface to be able to physically
    communicate with cameras.

    Signed-off-by: Guennadi Liakhovetski
    Signed-off-by: Mauro Carvalho Chehab

    Guennadi Liakhovetski
     
  • videobuf-dma-sg does not need to depend on PCI. Switch it to using generic
    DMA API, convert all affected drivers, relax Kconfig restriction, improve
    compile-time type checking, fix some Coding Style violations while at it.

    Signed-off-by: Guennadi Liakhovetski
    Signed-off-by: Mauro Carvalho Chehab

    Guennadi Liakhovetski
     
  • - Continue to support the V4L2_CID_PRIVATE_BASE + 1 control in the ABI
    - Report the same control as V4L2_CID_SHARPNESS
    - Report the private control disabled via QUERYCTRL

    Signed-off-by: Brandon Philips
    Acked-by: Stelian Pop
    Signed-off-by: Mauro Carvalho Chehab

    Brandon Philips
     
  • This adds two new fourcc codes (as per info at fourcc.org)
    for 16bpp mono and 16bpp Bayer formats.

    Signed-off-by: Steven Whitehouse
    Signed-off-by: Guennadi Liakhovetski
    Signed-off-by: Mauro Carvalho Chehab

    Steven Whitehouse
     
  • This driver provides an interface between platform-specific camera
    busses and camera devices. It should be used if the camera is connected
    not over a "proper" bus like PCI or USB, but over a special bus, like,
    for example, the Quick Capture interface on PXA270 SoCs. Later it should
    also be used for i.MX31 SoCs from Freescale. It can handle multiple
    cameras and / or multiple busses, which can be used, e.g., in
    stereo-vision applications.

    Signed-off-by: Guennadi Liakhovetski
    Signed-off-by: Mauro Carvalho Chehab

    Guennadi Liakhovetski
     
  • Add V4L2_IDENT chip IDs for mt9m001 and mt9v022 cameras, will be used by
    future patches, primarily to implement the g_chip_ident ioctl.

    Signed-off-by: Guennadi Liakhovetski
    Signed-off-by: Mauro Carvalho Chehab

    Guennadi Liakhovetski
     
  • Add all of the recently proposed camera class controls. These controls
    should appear in the next version of the v4l2spec.

    Signed-off-by: Brandon Philips
    Signed-off-by: Mauro Carvalho Chehab

    Brandon Philips
     
  • These changes should appear in the next update of the v4l2spec.

    HCENTER and VCENTER are unused in the tree so I added a _DEPRECATED
    postfix so applications can remove their use.

    Signed-off-by: Brandon Philips
    Signed-off-by: Mauro Carvalho Chehab

    Brandon Philips
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/blackfin-2.6: (85 commits)
    Blackfin char driver for Blackfin on-chip OTP memory (v3)
    Blackfin Serial Driver: fix bug - use mod_timer to replace only add_timer.
    Blackfin Serial Driver: the uart break anomaly has been given its own number, so switch to it
    Blackfin Serial Driver: use BFIN_UART_NR_PORTS to help SIR driver in uart port.
    Blackfin Serial Driver: Fix bug - kernel hangs when accessing uart 0 on bf537 when booting u-boot and linux on uart 1
    Blackfin Serial Driver: punt unused lsr variable
    Blackfin Serial Driver: Enable IR function when user application (irattach /dev/ttyBFx -s) call TIOCSETD ioctl with line discipline N_IRDA
    [Blackfin] arch: add include/boot .gitignore files
    [Blackfin] arch: Functional power management support: Add support for cpu frequency scaling
    [Blackfin] arch: Functional power management support: Remove broken cpu frequency scaling drivers
    [Blackfin] arch: Equalize include files: Add PLL_DIV Masks
    [Blackfin] arch: Add a warning about the value of CLKIN.
    [Blackfin] arch: take DDR DEVWD into consideration as well for BF548
    [Blackfin] arch: Remove the circular buffering mechanism for exceptions
    [Blackfin] arch: lose unnecessary dependency on CONFIG_BFIN_ICACHE for MPU
    [Blackfin] arch: fix bug - before assign new channel to the map register, need clear the bits first.
    [Blackfin] arch: add Blackfin on-chip SIR IrDA driver support
    [Blackfin] arch: BF54x memsizes are in mbits, not mbytes
    [Blackfin] arch: try to remove condition that causes double fault, by checking current before it gets dereferenced
    [Blackfin] arch: Update anomaly list.
    ...

    Linus Torvalds
     

24 Apr, 2008

3 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6: (250 commits)
    [ALSA] ice1724 - Fix IRQ lock-up with MPU access
    [ALSA] Define MPU401 registers in sound/mpu401_uart.h
    [ALSA] pcsp: fix wording in DEBUG_PAGEALLOC warning
    [ALSA] pcsp - Fix dependency in Kconfig
    [ALSA] soc - ac97 - Clean up checkpatch warnings
    [ALSA] soc - wm8750 - Clean up checkpatch warnings
    [ALSA] soc - wm8731 - Clean up checkpatch warnings
    [ALSA] soc - pxa2xx-pcm - Fix checkpatch warnings
    [ALSA] soc - spitz - Fix checkpatch warnings
    [ALSA] soc - poodle - Fix checkpatch warnings
    [ALSA] soc - corgi - Fix checkpatch warnings
    [ALSA] soc - s3c24xx-i2s - Add missing spaces
    [ALSA] soc - s3c24xx-i2s - Fix tab/space breakage
    [ALSA] soc - s3c24xx-i2s - Use linux/io.h
    [ALSA] hda - Fix Thinkpad X300 digital mic
    pcsp - Don't build pcspkr when snd-pcsp is enabled
    [ALSA] hda - Fix model for Acer Aspire 5720z
    [ALSA] soc - s3c24xx - Declare suspend and resume static
    [ALSA] soc - s3c24xx - Improve diagnostic output
    [ALSA] Fix possible races at free_irq in PCI drivers
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (22 commits)
    tun: Multicast handling in tun_chr_ioctl() needs proper locking.
    [NET]: Fix heavy stack usage in seq_file output routines.
    [AF_UNIX] Initialise UNIX sockets before general device initcalls
    [RTNETLINK]: Fix bogus ASSERT_RTNL warning
    iwlwifi: Fix built-in compilation of iwlcore (part 2)
    tun: Fix minor race in TUNSETLINK ioctl handling.
    ppp_generic: use stats from net_device structure
    iwlwifi: Don't unlock priv->mutex if it isn't locked
    wireless: rndis_wlan: modparam_workaround_interval is never below 0.
    prism54: prism54_get_encode() test below 0 on unsigned index
    mac80211: update mesh EID values
    b43: Workaround DMA quirks
    mac80211: fix use before check of Qdisc length
    net/mac80211/rx.c: fix off-by-one
    mac80211: Fix race between ieee80211_rx_bss_put and lookup routines.
    ath5k: Fix radio identification on AR5424/2424
    ssb: Fix all-ones boardflags
    b43: Add more btcoexist workarounds
    b43: Fix HostFlags data types
    b43: Workaround invalid bluetooth settings
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6: (23 commits)
    sparc: sunzilog uart order
    [SPARC64]: Detect trap frames in stack backtraces.
    [SPARC64]: %l6 trap return handling no longer necessary.
    [SPARC64]: Use trap type stored in pt_regs to handle syscall restart.
    [SPARC64]: Store magic cookie and trap type in pt_regs.
    [SPARC64]: PROM debug console can be CON_ANYTIME.
    sparc64: cleanup after SunOS/Solaris binary emulation removal
    sparc: cleanup after SunOS binary emulation removal
    [SPARC64]: Add NUMA support.
    [SPARC64]: Allocate TSB node-local.
    [SPARC64]: NUMA device infrastructure.
    [SPARC64]: Kill pci_iommu_table_init() declaration.
    [SPARC64]: Once we have the boot cmdline, call parse_early_param()
    [SPARC64]: Remove unused asm-sparc64/numnodes.h
    [SPARC64]: Decrease SECTION_SIZE_BITS to 30.
    [SPARC64]: Initialize MDESC earlier and use lmb_alloc()
    [SPARC64]: Use lmb_alloc() for PROM device tree.
    [SPARC64]: Call real_setup_per_cpu_areas() earlier and use lmb_alloc().
    [SPARC64]: Fully use LMB information in bootmem_init().
    [SPARC64]: Start using LMB information in bootmem_init().
    ...

    Linus Torvalds