24 Jan, 2014

1 commit

  • Pull ARM SoC cleanups from Olof Johansson:
    "This is the branch where we usually queue up cleanup efforts, moving
    drivers out of the architecture directory, header file restructuring,
    etc. Sometimes they tangle with new development so it's hard to keep
    it strictly to cleanups.

    Some of the things included in this branch are:

    * Atmel SAMA5 conversion to common clock
    * Reset framework conversion for tegra platforms
    - Some of this depends on tegra clock driver reworks that are shared
    with Mike Turquette's clk tree.
    * Tegra DMA refactoring, which are shared branches with the DMA tree.
    * Removal of some header files on exynos to prepare for
    multiplatform"

    * tag 'cleanup-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (169 commits)
    ARM: mvebu: move Armada 370/XP specific definitions to armada-370-xp.h
    ARM: mvebu: remove prototypes of non-existing functions from common.h
    ARM: mvebu: move ARMADA_XP_MAX_CPUS to armada-370-xp.h
    serial: sh-sci: Rework baud rate calculation
    serial: sh-sci: Compute overrun_bit without using baud rate algo
    serial: sh-sci: Remove unused GPIO request code
    serial: sh-sci: Move overrun_bit and error_mask fields out of pdata
    serial: sh-sci: Support resources passed through platform resources
    serial: sh-sci: Don't check IRQ in verify port operation
    serial: sh-sci: Set the UPF_FIXED_PORT flag
    serial: sh-sci: Remove duplicate interrupt check in verify port op
    serial: sh-sci: Simplify baud rate calculation algorithms
    serial: sh-sci: Remove baud rate calculation algorithm 5
    serial: sh-sci: Sort headers alphabetically
    ARM: EXYNOS: Kill exynos_pm_late_initcall()
    ARM: EXYNOS: Consolidate selection of PM_GENERIC_DOMAINS for Exynos4
    ARM: at91: switch Calao QIL-A9260 board to DT
    clk: at91: fix pmc_clk_ids data type attriubte
    PM / devfreq: use inclusion instead of
    ARM: EXYNOS: remove for exynos
    ...

    Linus Torvalds
     

22 Jan, 2014

1 commit

  • Pull MFD changes from Lee Jones:
    "New drivers
    - Samsung Maxim 14577; Micro USB, Regulator, IRQ Controller and
    Battery Charger
    - TI/National Semiconductor LP3943 I2C GPIO Expander and PWM
    Generator

    Existing driver adaptions
    - Expansion of Wolfson Arizona DSP and High-Pass filter controls
    - TI TWL6040 default Regmap support and Regcache addition/bypass
    - Some nice Smatch catch fixes
    - Conversion of TI OMAP-USB and TI TWL6030 to endian neutralness
    - ChromeOS EC timing (delay) adaptions and added dependency on OF
    - Many constifications of 'struct {mfd_cell,regmap_irq,et.al}'
    - Watchdog support added for NVIDIA AS3722
    - Convert functions to static in TI AM335x
    - Realigned previously defeated functionality in TI AM335x
    - IIO ADC-TSC concurrency dead-lock/timeout resolution
    - Addition of Power Management and Clock support for Samsung core
    - DEFINE_PCI_DEVICE_TABLE macro removal from MFD Subsystem
    - Greater use of irqdomain functionality in ST-E AB8500
    - Removal of 'include/linux/mfd/abx500/ab8500-gpio.h'
    - Wolfson WM831x PMIC Power Management changes s/poweroff/shutdown/
    - Device Tree documentation added for TI/Nat Semi LP3943
    - Version detection and voltage tables for TI TPS6586x PMIC devices
    - Simplification of Freescale MC13XXX (de-)initialisation routines
    - Clean-up and simplification of the Realtek parent driver
    - Added support for RTL8402 Realtek PCI-Express card reader
    - Resource leak fix for Maxim 77686
    - Possible suspend BUG() fix in OMAP USB TLL
    - Support for new Wolfson WM5110 Revision (D)
    - Testing of automatic assignment of of_node in mfd_add_device()
    - Reversion of the above when it started to cause issues
    - Remove legacy Platform Data from;
    TI TWL Core, Qualcomm SSBI and ST-E ABx500 Pinctrl
    - Clean-ups; tabbing issues, function name changes, 'drvdata = NULL'
    removal, unused uninitialised warning mitigation, error
    message clarity, removal of redundant/duplicate checks,
    licensing (GPL -> GPL2), coding consistency, duplicate
    function declaration, ret checks, commit corrections,
    redundant of_match_ptr() helper removal, spelling,
    #if-deffery removal and header guards name changes"

    * tag 'mfd-3.14-1' of git://git.linaro.org/people/ljones/mfd: (78 commits)
    mfd: wm5110: Add register patch for rev D chip
    mfd: omap-usb-tll: Don't hold lock during pm_runtime_get/put_sync()
    gpio: lp3943: Remove redundant of_match_ptr helper
    mfd: sta2x11-mfd: Use named constants for pci_power_t values
    Documentation: mfd: Fix LDO index in s2mps11.txt
    mfd: Cleanup mfd-mcp-sa11x0.h header
    mfd: max8997: Use "IS_ENABLED(CONFIG_OF)" for DT code.
    mfd: twl6030: Fix endianness problem in IRQ handler
    mfd: sec-core: Add cells for S5M8767-clocks
    mfd: max14577: Remove redundant of_match_ptr helper
    mfd: twl6040: Fix sparse non static symbol warning
    mfd: Revert "mfd: Always assign of_node in mfd_add_device()"
    mfd: rtsx: Fix sparse non static symbol warning
    mfd: max77693: Set proper maximum register for MUIC regmap
    mfd: max77686: Fix regmap resource leak on driver remove
    mfd: Represent correct filenames in file headers
    mfd: rtsx: Add support for card reader rtl8402
    mfd: rtsx: Add set pull control macro and simplify rtl8411
    mfd: max8997: Enforce mfd_add_devices() return value check
    mfd: mc13xxx: Simplify probe() & remove()
    ...

    Linus Torvalds
     

21 Jan, 2014

2 commits


20 Jan, 2014

3 commits


18 Jan, 2014

3 commits

  • The prefix for the codec driver can be used during dual identical
    codec usecases. However, dapm adds prefix twice for codec DAI widget
    in snd_soc_dapm_add_route API.

    This change is to avoid double prefix addition for codec DAI widget
    and is needed while using identical dual codecs.

    Signed-off-by: Songhee Baek
    Signed-off-by: Arun Shamanna Lakshmi
    Signed-off-by: Mark Brown

    Arun Shamanna Lakshmi
     
  • Currently compressed audio streams are statically routed from the /dev
    to the DAI link. Some DSPs can route compressed data to multiple BE DAIs
    like they do for PCM data.

    Add support to allow dynamically routed compressed streams using the existing
    DPCM infrastructure. This patch adds special FE versions of the compressed ops
    that work out the runtime routing.

    Signed-off-by: Liam Girdwood
    Acked-by: Vinod Koul
    Signed-off-by: Mark Brown

    Liam Girdwood
     
  • The ASoC compressed code needs to call the internal DPCM APIs in order to
    dynamically route compressed data to different DAIs.

    Signed-off-by: Liam Girdwood
    Signed-off-by: Mark Brown

    Liam Girdwood
     

16 Jan, 2014

12 commits


15 Jan, 2014

14 commits


14 Jan, 2014

4 commits

  • There are three files in oss for which I could not find an easy way to
    replace interruptible_sleep_on_timeout with a non-racy version. This
    patch instead just adds a private implementation of the function, now
    named oss_broken_sleep_on, and changes over the remaining users in
    sound/oss/ so we can remove the global interface.

    [fixed coding style warnings by tiwai]

    Signed-off-by: Arnd Bergmann
    Signed-off-by: Takashi Iwai

    Arnd Bergmann
     
  • The use of interruptible_sleep_on_timeout in the dmasound driver
    is questionable and we want to kill off all sleep_on variants.
    This replaces the calls with wait_event_interruptible_timeout
    where possible, to wait for a particular event instead of blocking
    in a racy way. In the sq_write function, the easiest solution is
    an open-coded prepare_to_wait loop.

    Signed-off-by: Arnd Bergmann
    Signed-off-by: Takashi Iwai

    Arnd Bergmann
     
  • sleep_on is known to be racy and going away because of this. All instances
    of interruptible_sleep_on and interruptible_sleep_on_timeout in the midibuf
    driver can trivially be replaced with wait_event_interruptible and
    wait_event_interruptible_timeout.

    [fixed coding style warnings by tiwai]

    Signed-off-by: Arnd Bergmann
    Signed-off-by: Takashi Iwai

    Arnd Bergmann
     
  • Interruptible_sleep_on is racy and we want to remove it. This replaces
    the use in the vwsnd driver with an open-coded prepare_to_wait
    loop that fixes the race between concurrent open() and close() calls,
    and also drops the global mutex while waiting here, which restores
    the original behavior that was changed during the BKL removal.

    Signed-off-by: Arnd Bergmann
    Signed-off-by: Takashi Iwai

    Arnd Bergmann