31 Jan, 2013

1 commit


14 Dec, 2012

1 commit

  • Pull sound updates from Takashi Iwai:
    "This update contains a fairly wide range of changes all over in sound
    subdirectory, mainly because of UAPI header moves by David and __dev*
    annotation removals by Bill. Other highlights are:

    - Introduced the support for wallclock timestamps in ALSA PCM core

    - Add the poll loop implementation for HD-audio jack detection

    - Yet more VGA-switcheroo fixes for HD-audio

    - New VIA HD-audio codec support

    - More fixes on resource management in USB audio and MIDI drivers

    - More quirks for USB-audio ASUS Xonar U3, Reloop Play, Focusrite,
    Roland VG-99, etc

    - Add support for FastTrack C400 usb-audio

    - Clean ups in many drivers regarding firmware loading

    - Add PSC724 Ultiimate Edge support to ice1712

    - A few hdspm driver updates

    - New Stanton SCS.1d/1m FireWire driver

    - Standardisation of the logging in ASoC codes

    - DT and dmaengine support for ASoC Atmel

    - Support for Wolfson ADSP cores

    - New drivers for Freescale/iVeia P1022 and Maxim MAX98090

    - Lots of other ASoC driver fixes and developments"

    Fix up trivial conflicts. And go out on a limb and assume the dts file
    'status' field of one of the conflicting things was supposed to be
    "disabled", not "disable" like in pretty much all other cases.

    * tag 'sound-3.8' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (341 commits)
    ALSA: hda - Move runtime PM check to runtime_idle callback
    ALSA: hda - Add stereo-dmic fixup for Acer Aspire One 522
    ALSA: hda - Avoid doubly suspend after vga switcheroo
    ALSA: usb-audio: Enable S/PDIF on the ASUS Xonar U3
    ALSA: hda - Check validity of CORB/RIRB WP reads
    ALSA: hda - use usleep_range in link reset and change timeout check
    ALSA: HDA: VIA: Add support for codec VT1808.
    ALSA: HDA: VIA Add support for codec VT1705CF.
    ASoC: codecs: remove __dev* attributes
    ASoC: utils: remove __dev* attributes
    ASoC: ux500: remove __dev* attributes
    ASoC: txx9: remove __dev* attributes
    ASoC: tegra: remove __dev* attributes
    ASoC: spear: remove __dev* attributes
    ASoC: sh: remove __dev* attributes
    ASoC: s6000: remove __dev* attributes
    ASoC: OMAP: remove __dev* attributes
    ASoC: nuc900: remove __dev* attributes
    ASoC: mxs: remove __dev* attributes
    ASoC: kirkwood: remove __dev* attributes
    ...

    Linus Torvalds
     

09 Dec, 2012

1 commit


28 Nov, 2012

1 commit


23 Nov, 2012

1 commit

  • The PCM is a pseudo-device. It doesn't have any of it's own registers
    or hardware. It rather acts as a layer of abstraction for DMA
    transfers. Hence, instead of classifying it as a device in its own
    right, we call the initialisation from the MSP driver.

    Cc: Mark Brown
    Cc: Ola LILJA2
    Cc: alsa-devel@alsa-project.org
    Signed-off-by: Lee Jones
    Signed-off-by: Mark Brown

    Lee Jones
     

05 Nov, 2012

1 commit


22 Oct, 2012

2 commits


16 Oct, 2012

2 commits

  • Some ux500_msp_i2s patches clashed with:

    b18e93a493626c1446f9788ebd5844d008bbf71c
    ASoC: ux500_msp_i2s: better use devm functions and fix error return code

    ... leaving the driver uncompilable. This patch fixes the
    issues encountered.

    Acked-by: Linus Walleij
    Signed-off-by: Lee Jones
    Signed-off-by: Mark Brown

    Lee Jones
     
  • When of_parse_phandle() is used to find a device node, its
    reference count is incremented by the helper. Once we're
    finished with them, it's our responsibly to ensure they
    are freed in the correct manor.

    Acked-by: Linus Walleij
    Signed-off-by: Lee Jones
    Signed-off-by: Mark Brown

    Lee Jones
     

23 Sep, 2012

1 commit


22 Sep, 2012

1 commit


20 Sep, 2012

4 commits

  • Includes removal of duplicate debug print affirming entry into
    the probe function, an unnecessary line break of a coding line

    Signed-off-by: Lee Jones

    Lee Jones
     
  • Register both parts of the MSP driver from Device Tree so that they
    are probed when Device Tree is enabled. Also, as there is platform
    data involved, we ensure that there is allocated memory to place the
    configuration into and that the correct information is extracted from
    the DT binary.

    Acked-by: Ola Lilja
    Acked-by: Linus Walleij
    Signed-off-by: Lee Jones

    Lee Jones
     
  • Here we ensure that the MOP500 audio driver will be probed during a
    Device Tree boot. We also parse the sound node to link together the
    codec, dma and the CPU-side Digital Audio Interface.

    Acked-by: Ola Lilja
    Acked-by: Linus Walleij
    Signed-off-by: Lee Jones

    Lee Jones
     
  • In the initial submission of the MSP driver msp1 and msp3's associated
    pinctrl mechanism was passed back to platform code using a plat_init()
    call-back routine, but it has no place in platform code. The MSP driver
    should set this up for the appropriate ports. Instead we use a use_pinctrl
    identifier which is passed from platform_data/Device Tree which indicates
    which ports should use pinctrl.

    Acked-by: Ola Lilja
    Acked-by: Linus Walleij
    Signed-off-by: Lee Jones

    Lee Jones
     

21 Aug, 2012

1 commit

  • Remove unnecessary calls to devm_kfree and replace iounmap by devm_iounmap
    (and use resource_size for the third argument). These changes make it
    possible to remove the error-handling code at the end of
    ux500_msp_i2s_init_msp, and all of the gotos become direct returns.

    In the case of the second call to devm_kzalloc, the return variable ret was
    not initialized. Here it is changed to a direct return of -ENOMEM.

    A simplified version of the semantic match that finds the second problem is as
    follows: (http://coccinelle.lip6.fr/)

    //
    (
    if@p1 (\(ret < 0\|ret != 0\))
    { ... return ret; }
    |
    ret@p1 = 0
    )
    ... when != ret = e1
    when != &ret
    *if(...)
    {
    ... when != ret = e2
    when forall
    return ret;
    }

    //

    Signed-off-by: Julia Lawall
    Signed-off-by: Mark Brown

    Julia Lawall
     

04 Aug, 2012

1 commit


26 Jul, 2012

1 commit


20 Jun, 2012

1 commit

  • Currently the sound dmaengine pcm helper functions implement the pcm_pointer
    callback by trying to count the number of elapsed periods. This is done by
    advancing the stream position in the dmaengine callback by one period.
    Unfortunately there is no guarantee that the callback will be called for each
    elapsed period. It may be possible that under high system load it is only called
    once for multiple elapsed periods. This patch renames the current implementation
    and documents its shortcomings and that it should not be used anymore in new
    drivers.

    The next patch will introduce a new snd_dmaengine_pcm_pointer which will be
    implemented based on querying the current stream position from the dma device.

    Signed-off-by: Lars-Peter Clausen
    Acked-by Vinod Koul
    Acked-by: Dong Aisheng

    Lars-Peter Clausen
     

18 Jun, 2012

1 commit


13 Jun, 2012

1 commit


03 Jun, 2012

1 commit


10 May, 2012

2 commits


09 May, 2012

1 commit