16 Nov, 2013

2 commits

  • Pull trivial tree updates from Jiri Kosina:
    "Usual earth-shaking, news-breaking, rocket science pile from
    trivial.git"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (23 commits)
    doc: usb: Fix typo in Documentation/usb/gadget_configs.txt
    doc: add missing files to timers/00-INDEX
    timekeeping: Fix some trivial typos in comments
    mm: Fix some trivial typos in comments
    irq: Fix some trivial typos in comments
    NUMA: fix typos in Kconfig help text
    mm: update 00-INDEX
    doc: Documentation/DMA-attributes.txt fix typo
    DRM: comment: `halve' -> `half'
    Docs: Kconfig: `devlopers' -> `developers'
    doc: typo on word accounting in kprobes.c in mutliple architectures
    treewide: fix "usefull" typo
    treewide: fix "distingush" typo
    mm/Kconfig: Grammar s/an/a/
    kexec: Typo s/the/then/
    Documentation/kvm: Update cpuid documentation for steal time and pv eoi
    treewide: Fix common typo in "identify"
    __page_to_pfn: Fix typo in comment
    Correct some typos for word frequency
    clk: fixed-factor: Fix a trivial typo
    ...

    Linus Torvalds
     
  • Pull MFD updates from Samuel Ortiz:
    "For the 3.13 merge window we have a couple of new drivers for the AMS
    AS3722 PMIC and for STMicroelectronics STw481x PMIC.

    Although this is a smaller update than usual, we also have:

    - Device tree support for the max77693 driver

    - linux/of.h inclusion for all DT compatible MFD drivers, to avoid
    build breakage in the future

    - Support for Intel Wildcat Point-LP PCH through the lpc_ich driver

    - A small arizona update for new wm5110 DSP registers and a few fixes

    - A small palmas update as well, including an of_device table
    addition and a few minor fixes

    - Two small mfd-core changes, one including a memory leak fix for
    when mfd_add_device() fails

    - Our usual round of minor cleanups and janitorial fixes"

    * tag 'mfd-3.13-1' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-next: (63 commits)
    Documentation: mfd: Update s2mps11.txt
    mfd: pm8921: Potential NULL dereference in pm8921_remove()
    mfd: Fix memory leak in mfd_add_devices()
    mfd: Stop setting refcounting pointers in original mfd_cell arrays
    mfd: wm5110: Enable micd clamp functionality
    mfd: lpc_ich: Add Device IDs for Intel Wildcat Point-LP PCH
    mfd: max77693: Fix up bug of wrong interrupt number
    mfd: as3722: Don't export the regmap config
    mfd: twl6040: Remove obsolete cleanup for i2c clientdata
    mfd: tps65910: Remove warning during dt node parsing
    mfd: lpc_sch: Ignore resource conflicts when adding mfd cells
    mfd: ti_am335x_tscadc: Avoid possible deadlock of reg_lock
    mfd: syscon: Return -ENOSYS if CONFIG_MFD_SYSCON is not enabled
    mfd: Add support for ams AS3722 PMIC
    mfd: max77693: Include linux/of.h header
    mfd: tc3589x: Detect the precise version
    mfd: omap-usb: prepare/unprepare clock while enable/disable
    mfd: max77686: Include linux/of.h header
    mfd: max8907: Include linux/of.h header
    mfd: max8997: Include linux/of.h header
    ...

    Linus Torvalds
     

12 Nov, 2013

3 commits

  • Pull sound updates from Takashi Iwai:
    "There are no too intrusive changes in this update batch. The biggest
    LOC is found in the new DICE driver, and other small changes are
    scattered over the whole sound subtree (which is a common pattern).

    Below are highlights:

    - ALSA core:
    * Memory allocation support with genpool
    * Fix blocking in drain ioctl of compress_offload

    - HD-audio:
    * Improved AMD HDMI supports
    * Intel HDMI detection improvements
    * thinkpad_acpi mute-key integration
    * New PCI ID, New ALC255,285,293 codecs, CX20952

    - USB-audio:
    * New buffer size management
    * Clean up endpoint handling codes

    - ASoC:
    * Further work on the dmaengine helpers, including support for
    configuring the parameters for DMA by reading the capabilities of
    the DMA controller which removes some guesswork and magic numbers
    from drivers.
    * A refresh of the documentation.
    * Conversions of many drivers to direct regmap API usage in order
    to allow the ASoC level register I/O code to be removed, this
    will hopefully be completed by v3.14.
    * Support for using async register I/O in DAPM, reducing the time
    taken to implement power transitions on systems that support it.

    - Firewire: DICE driver

    - Lots of small fixes for bugs reported by Coverity"

    * tag 'sound-3.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (382 commits)
    ALSA: hda/realtek - Add new codec ALC255/ALC3234 UAJ supported
    ALSA: hda - Apply MacBook fixups for CS4208 correctly
    ASoC: fsl: imx-wm8962: remove an unneeded check
    ASoC: fsl: imx-pcm-fiq: Remove unused 'runtime' variable
    ALSA: hda/realtek - Make fixup regs persist after resume
    ALSA: hda_intel: ratelimit "spurious response" message
    ASoC: generic-dmaengine-pcm: Use SNDRV_DMA_TYPE_DEV_IRAM as default
    ASoC: dapm: Use WARN_ON() instead of BUG_ON()
    ASoC: wm_adsp: Fix BUG_ON() and WARN_ON() usages
    ASoC: Replace BUG() with WARN()
    ASoC: wm_hubs: Replace BUG() with WARN()
    ASoC: wm8996: Replace BUG() with WARN()
    ASoC: wm8962: Replace BUG() with WARN()
    ASoC: wm8958: Replace BUG() with WARN()
    ASoC: wm8904: Replace BUG() with WARN()
    ASoC: wm8900: Replace BUG() with WARN()
    ASoC: wm8350: Replace BUG() with WARN()
    ASoC: txx9: Use WARN_ON() instead of BUG_ON()
    ASoC: sh: Use WARN_ON() instead of BUG_ON()
    ASoC: rcar: Use WARN_ON() instead of BUG_ON()
    ...

    Linus Torvalds
     
  • Pull regulator updates from Mark Brown:
    "Lots of driver updates here plus some nice new core features, the main
    one being the first:

    - Enable support for providing a dummy regulator when we know that
    one must exist for the device to be functional. This makes it much
    easier to add regulator support to drivers since we don't require
    that the machine integration for all systems using the device be
    updated to provide regulators.
    - Substantial reduction in the amount of busy waiting done while
    waiting for enables to complete.
    - Allow MFDs to distribute regulator supplies to child devices so we
    don't have to expose the internal structure of MFDs outside of the
    driver.
    - Managed registeration for regulators"

    * tag 'regulator-v3.13' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator: (113 commits)
    regulator: s5m8767: Modify parsing method of the voltage table of buck2/3/4
    regulator: s5m8767: Modify parse_dt function to parse data related to ramp
    regulator: da9052: Revert se apply_[reg|bit] with regmap based voltage_sel operations
    mfd: arizona: Specify supply mappings for Arizona CODECs
    mfd: Allow mapping regulator supplies to MFD device from children
    regulator: core: Add ability to create a lookup alias for supply
    regulator: tps65910: Fix checkpatch issue
    regulator: tps65023: Fix checkpatch issue
    regulator: tps6105x: Fix checkpatch issue
    regulator: mc13783: Fix checkpatch issue
    regulator: max8997: Fix checkpatch issue
    regulator: lp3971: Fix checkpatch issue
    regulator: fixed: Fix checkpatch issue
    regulator: anatop: Fix checkpatch issue
    regulator: Add REGULATOR_LINEAR_RANGE macro
    regulator: Remove max_uV from struct regulator_linear_range
    regulator: ti-abb: Fix operator precedence typo
    regulator: tps65910: get regulators node from parent node only
    regulator: tps6586x: get regulators node from parent node only
    regulator: tps65090: get regulators node from parent node only
    ...

    Linus Torvalds
     
  • mfd-lee-3.13-3

    MFD patches due for v3.13 - 2nd round.

    Samuel Ortiz
     

11 Nov, 2013

4 commits

  • We assume that "pmic" could be NULL and then dereference it two lines
    later. I fix this by moving the dereference inside the NULL check.

    Fixes: c013f0a56c56 ('mfd: Add pm8xxx irq support')

    Signed-off-by: Dan Carpenter
    Signed-off-by: Lee Jones

    Dan Carpenter
     
  • If the first call to mfd_add_device() fails, no child devices have been
    registered to the parent yet, and thus mfd_remove_devices() won't find
    anything to remove nor free.
    Hence the previously allocated array of atomic_t objects will leak.

    Free the array instead of calling mfd_remove_devices() on failure during
    the first loop iteration to fix this.

    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Lee Jones

    Geert Uytterhoeven
     
  • Commit 1e29af62f2b285bd18685da93c3ce8c33ca2d1db ("mfd: Add refcounting
    support to mfd_cells") had to drop the "const" keyword on the "cell"
    parameter of mfd_add_devices(), as it added the refcounting pointers
    to the objects of the passed mfd_cell array itself.

    However, the mfd core code operates on copies of the mfd_cell objects,
    so there's no need to modify the originally passed objects.

    Hence, move the setting of the refcounting pointers from mfd_add_devices()
    to mfd_platform_add_cell(), where the copy of the mfd_cell objects is made.
    mfd_clone_cell() can just pass (a copy of) the original usage_count
    pointer.

    This allows to make the "cell" parameter of mfd_add_devices() "const"
    again, and avoids future race conditions when registering multiple
    instances of the same device in parallel.

    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Lee Jones

    Geert Uytterhoeven
     
  • Add missing registers and interrupts required for the microphone
    detection clamping.

    Signed-off-by: Charles Keepax
    Signed-off-by: Lee Jones

    Charles Keepax
     

05 Nov, 2013

1 commit


04 Nov, 2013

1 commit

  • The max77693 MFD device use irq domain method which has hardware interrupt
    number and virtual interrupt number getting through irq domain mapping.
    This patch use hardware interrupt number instead of virtual interrupt number
    to get struct irq_data.

    Signed-off-by: Chanwoo Choi
    Signed-off-by: Kyungmin Park
    Signed-off-by: Samuel Ortiz

    Chanwoo Choi
     

26 Oct, 2013

1 commit


25 Oct, 2013

1 commit


24 Oct, 2013

2 commits

  • A few new i2c-drivers came into the kernel which clear the clientdata-pointer
    on exit or error. This is obsolete meanwhile, the core will do it.

    Signed-off-by: Wolfram Sang
    Signed-off-by: Samuel Ortiz

    Wolfram Sang
     
  • Driver throw the warning message if dt node does not
    have the info for VMBCH-Threshold and VMBCH2-Threshold.
    These properties are optional property and hence it
    is not mandatory to have these on DT node and in this case
    it should not throw the warning message.
    It creates noise from driver as follows:
    [ 0.384605] tps65910 4-002d: VMBCH-Threshold not specified
    [ 0.384616] tps65910 4-002d: VMBCH2-Threshold not specified

    Removing the warning message from driver.

    Signed-off-by: Laxman Dewangan
    Signed-off-by: Samuel Ortiz

    Laxman Dewangan
     

23 Oct, 2013

25 commits