07 Nov, 2011

1 commit

  • * 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux: (230 commits)
    Revert "tracing: Include module.h in define_trace.h"
    irq: don't put module.h into irq.h for tracking irqgen modules.
    bluetooth: macroize two small inlines to avoid module.h
    ip_vs.h: fix implicit use of module_get/module_put from module.h
    nf_conntrack.h: fix up fallout from implicit moduleparam.h presence
    include: replace linux/module.h with "struct module" wherever possible
    include: convert various register fcns to macros to avoid include chaining
    crypto.h: remove unused crypto_tfm_alg_modname() inline
    uwb.h: fix implicit use of asm/page.h for PAGE_SIZE
    pm_runtime.h: explicitly requires notifier.h
    linux/dmaengine.h: fix implicit use of bitmap.h and asm/page.h
    miscdevice.h: fix up implicit use of lists and types
    stop_machine.h: fix implicit use of smp.h for smp_processor_id
    of: fix implicit use of errno.h in include/linux/of.h
    of_platform.h: delete needless include
    acpi: remove module.h include from platform/aclinux.h
    miscdevice.h: delete unnecessary inclusion of module.h
    device_cgroup.h: delete needless include
    net: sch_generic remove redundant use of
    net: inet_timewait_sock doesnt need
    ...

    Fix up trivial conflicts (other header files, and removal of the ab3550 mfd driver) in
    - drivers/media/dvb/frontends/dibx000_common.c
    - drivers/media/video/{mt9m111.c,ov6650.c}
    - drivers/mfd/ab3550-core.c
    - include/linux/dmaengine.h

    Linus Torvalds
     

04 Nov, 2011

21 commits


01 Nov, 2011

2 commits

  • The pretty much brings in the kitchen sink along
    with it, so it should be avoided wherever reasonably possible in
    terms of being included from other commonly used
    files, as it results in a measureable increase on compile times.

    The worst culprit was probably device.h since it is used everywhere.
    This file also had an implicit dependency/usage of mutex.h which was
    masked by module.h, and is also fixed here at the same time.

    There are over a dozen other headers that simply declare the
    struct instead of pulling in the whole file, so follow their lead
    and simply make it a few more.

    Most of the implicit dependencies on module.h being present by
    these headers pulling it in have been now weeded out, so we can
    finally make this change with hopefully minimal breakage.

    Signed-off-by: Paul Gortmaker

    Paul Gortmaker
     
  • * 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (348 commits)
    [media] pctv452e: Remove bogus code
    [media] adv7175: Make use of media bus pixel codes
    [media] media: vb2: fix incorrect return value
    [media] em28xx: implement VIDIOC_ENUM_FRAMESIZES
    [media] cx23885: Stop the risc video fifo before reconfiguring it
    [media] cx23885: Avoid incorrect error handling and reporting
    [media] cx23885: Avoid stopping the risc engine during buffer timeout
    [media] cx23885: Removed a spurious function cx23885_set_scale()
    [media] cx23885: v4l2 api compliance, set the audioset field correctly
    [media] cx23885: hook the audio selection functions into the main driver
    [media] cx23885: add generic functions for dealing with audio input selection
    [media] cx23885: fixes related to maximum number of inputs and range checking
    [media] cx23885: Initial support for the MPX-885 mini-card
    [media] cx25840: Ensure AUDIO6 and AUDIO7 trigger line-in baseband use
    [media] cx23885: Enable audio line in support from the back panel
    [media] cx23885: Allow the audio mux config to be specified on a per input basis
    [media] cx25840: Enable support for non-tuner LR1/LR2 audio inputs
    [media] cx23885: Name an internal i2c part and declare a bitfield by name
    [media] cx23885: Ensure VBI buffers timeout quickly - bugfix for vbi hangs during streaming
    [media] cx23885: remove channel dump diagnostics when a vbi buffer times out
    ...

    Fix up trivial conflicts in drivers/misc/altera-stapl/altera.c (header
    file rename vs add)

    Linus Torvalds
     

28 Sep, 2011

1 commit

  • There are numerous broken references to Documentation files (in other
    Documentation files, in comments, etc.). These broken references are
    caused by typo's in the references, and by renames or removals of the
    Documentation files. Some broken references are simply odd.

    Fix these broken references, sometimes by dropping the irrelevant text
    they were part of.

    Signed-off-by: Paul Bolle
    Signed-off-by: Jiri Kosina

    Paul Bolle
     

24 Sep, 2011

3 commits


22 Sep, 2011

5 commits


21 Sep, 2011

2 commits

  • The problem tackled in this patch is how to handle volatile autoclusters
    correctly. A volatile autocluster is a cluster of related controls where one
    control is the control that toggles between manual and auto mode and the other
    controls are the values for the manual mode. For example autogain and gain,
    autoexposure and exposure, etc.

    If the hardware lets you read out the automatically calculated manual values
    while in automode, then those manual controls should be marked volatile.

    gain value as calculated by the autogain circuitry, then you would mark the
    gain control as volatile (i.e. continuously changing).

    The question in such use cases is what to do when switching from the auto
    mode to the manual mode. Should we switch to the last set manual values or
    should the volatile values be copied and used as the initial manual values.

    For example: suppose the mode is manual gain and gain is set to 5. Then
    autogain is turned on and the gain is set by the hardware to 2. Finally
    the user switches back to manual gain. What should the gain be? 2 or 5?

    After a long discussion the decisions was made to keep the last value as
    calculated by the auto mode (so 2 in the example above).

    The reason is that webcams that do such things will adapt themselves to
    the current light conditions and when you switch back to manual mode you
    expect that you keep the same picture. If you would switch back to old
    manual values, then that would give you a suddenly different picture,
    which is jarring for the user.

    Additionally, this would be difficult to implement in applications that
    store and restore the control values at application exit and start.

    If you want to keep the old manual values when you switch from auto to
    manual, then there would have to be a way for applications to get hold
    of those old values while in auto mode, but there isn't.

    So this patch will do all the heavy lifting in v4l2-ctrls.c: if you go
    from auto mode to manual mode and the manual controls are volatile, then
    g_volatile_ctrl will be called to get the current values for the manual
    controls before switching to manual mode.

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

    Hans Verkuil
     
  • With the new flag there is no need anymore to have a separate is_volatile
    field. Modify all users to use the new flag.

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

    Hans Verkuil
     

15 Sep, 2011

2 commits

  • Fast-forward merge with Linus to be able to merge patches
    based on more recent version of the tree.

    Jiri Kosina
     
  • It was pointed out by 'make versioncheck' that some includes of
    linux/version.h are not needed in include/.
    This patch removes them.

    When I last posted the patch, the ceph bit was ACK'ed by Sage Weil, so
    I've added that below.

    The pwc-ioctl change generated quite a bit of discussion about V4L version
    numbers in general, but as far as I can tell, no concensus was reached on
    what the long term solution should be, so in the mean time I think we
    could start by just removing the unneeded include, which is why I'm
    resending the patch with that hunk still included.

    Signed-off-by: Jesper Juhl
    Acked-by: Sage Weil
    Signed-off-by: Jiri Kosina

    Jesper Juhl
     

11 Sep, 2011

2 commits

  • The MT9P031 is a parallel 12-bit 5MP sensor from Aptina (formerly
    Micron) controlled through I2C.

    The driver creates a V4L2 subdevice. It currently supports skipping,
    cropping, automatic binning, and gain, exposure, h/v flip and test
    pattern controls.

    Signed-off-by: Javier Martin
    Signed-off-by: Laurent Pinchart
    Signed-off-by: Mauro Carvalho Chehab

    Javier Martin
     
  • drivers/media/video/omap3isp/isp.h is not a proper location for a header
    that needs to be included from board code. Move the platform data
    definitions to media/omap3isp.h.

    Board code still needs to include isp.h to get the struct isp_device
    definition and access OMAP3 ISP platform callbacks. Those callbacks will
    be replaced by more generic code.

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

    Laurent Pinchart
     

07 Sep, 2011

1 commit