23 Aug, 2013

1 commit

  • ASoC: Updates for v3.12

    - DAPM is now mandatory for CODEC drivers in order to avoid the repeated
    regressions in the special cases for non-DAPM CODECs and make it
    easier to integrate with other components on boards. All existing
    drivers have had some level of DAPM support added.
    - A lot of cleanups in DAPM plus support for maintaining controls in a
    specific state while a DAPM widget all contributed by Lars-Peter Clausen.
    - Core helpers for bitbanged AC'97 reset from Markus Pargmann.
    - New drivers and support for Analog Devices ADAU1702 and ADAU1401(a),
    Asahi Kasei Microdevices AK4554, Atmel AT91ASM9x5 and WM8904 based
    machines, Freescale S/PDIF and SSI AC'97, Renesas R-Car SoCs, Samsung
    Exynos5420 SoCs, Texas Instruments PCM1681 and PCM1792A and Wolfson
    Microelectronics WM8997.
    - Support for building drivers that can support it cross-platform for
    compile test.

    Takashi Iwai
     

20 Aug, 2013

1 commit

  • Remove unneeded error handling on the result of a call to
    platform_get_resource_byname when the value is passed to devm_ioremap_resource.

    In the case of omap-dmic.c, the error-handling code of
    devm_ioremap_resource is also corrected to include releasing the clock.

    A simplified version of the semantic patch that makes this change is as
    follows: (http://coccinelle.lip6.fr/)

    //
    @@
    expression pdev,res,e,e1;
    expression ret != 0;
    identifier l;
    @@

    res = platform_get_resource_byname(...);
    - if (res == NULL) { ... \(goto l;\|return ret;\) }
    e = devm_ioremap_resource(e1, res);
    //

    Signed-off-by: Julia Lawall
    Acked-by: Jarkko Nikula
    Signed-off-by: Mark Brown

    Julia Lawall
     

15 Aug, 2013

2 commits


01 Aug, 2013

1 commit


22 Jul, 2013

1 commit


21 Jul, 2013

1 commit


17 Jul, 2013

1 commit


15 Jul, 2013

1 commit


12 Jul, 2013

4 commits


04 Jul, 2013

1 commit


22 Jun, 2013

1 commit


18 Jun, 2013

1 commit


05 Jun, 2013

1 commit

  • to support HDMI on CSR SiRFprimaII and atlasVI, we need one more HDMI pseudo
    codec, rather than add a new driver, we can make omap HDMI codec common for
    other SoCs as well. then the omap-hdmi codec becomes a generic HDMI pseudo-
    codec as HDMI audio features depend on HDMI specification not on SoCs.

    Signed-off-by: Barry Song
    Signed-off-by: Mark Brown

    Barry Song
     

30 May, 2013

1 commit


13 May, 2013

1 commit


18 Apr, 2013

1 commit


17 Apr, 2013

1 commit

  • Refactor the dmaengine PCM library to allow the DMA channel to be requested
    before opening a PCM substream. snd_dmaengine_pcm_open() now expects a DMA
    channel instead of a filter function and filter parameter as its parameters.
    snd_dmaengine_pcm_close() is updated to not release the DMA channel. This allows
    a dmaengine based PCM driver to request its channels before the substream is
    opened.

    The patch also introduces two new functions, snd_dmaengine_pcm_open_request_chan()
    and snd_dmaengine_pcm_close_release_chan(), which have the same signature and
    behaviour of the old snd_dmaengine_pcm_{open,close}() and internally use the new
    variants of these functions. All users of snd_dmaengine_pcm_{open,close}() are
    updated to use snd_dmaengine_pcm_open_request_chan() and
    snd_dmaengine_pcm_close_release_chan().

    Signed-off-by: Lars-Peter Clausen
    Tested-by: Stephen Warren
    Tested-by: Shawn Guo
    Signed-off-by: Mark Brown

    Lars-Peter Clausen
     

12 Apr, 2013

1 commit


04 Apr, 2013

2 commits


27 Mar, 2013

4 commits


26 Mar, 2013

2 commits

  • If a PCM driver using the dmaengine PCM helper functions doesn't need to do
    anything special in its pcm_close callback, snd_dmaengine_pcm_close can be used
    directly for as the pcm_close callback and there is no need to wrap it in a
    custom function.

    Signed-off-by: Lars-Peter Clausen
    Acked-by: Peter Ujfalusi
    Acked-by: Jarkko Nikula
    Signed-off-by: Mark Brown

    Lars-Peter Clausen
     
  • The omap PCM driver provides a set_threshold callback which gets called by the
    PCM driver when either playback or capture is started. The only DAI driver which
    sets this callback is the mcbsp driver. This patch removes the callback from the
    PCM driver and moves the invocation of the omap_mcbsp_set_threshold() function
    to the mcbsp hw_params callback since this is the only place where the threshold
    size can change. Doing so allows us to use the default dmaengine PCM trigger
    callback in the omap PCM driver.

    Signed-off-by: Lars-Peter Clausen
    Acked-by: Peter Ujfalusi
    Signed-off-by: Mark Brown

    Lars-Peter Clausen
     

20 Mar, 2013

3 commits

  • The IO address is no longer hardwired into the driver.

    Signed-off-by: Peter Ujfalusi
    Signed-off-by: Mark Brown

    Peter Ujfalusi
     
  • Due to HW limitation within OMAP McPDM IP uplink and downlink need to be
    started at the same time. This causes issues when we have two streams
    running, for example:
    arecord | aplay

    In this case the playback stream would have no channels enabled since at the
    capture start we are not aware that a playback is going to start.

    The workaround is to configure the other direction to stereo when the first
    stream is started. When the second stream is coming we check the new stream's
    number of channels against the pre-configured channels. If it does not match
    we stop and restart McPDM to update the configuration. This might result a
    small pop. If the coming stream is a match we do nothing in the McPDM driver.

    This workaround can handle most use cases without the need to restart McPDM.

    Signed-off-by: Peter Ujfalusi
    Signed-off-by: Mark Brown

    Peter Ujfalusi
     
  • mcpdm_link_config will collect the link direction related configurations like
    channel masks, FIFO threshold.

    Signed-off-by: Peter Ujfalusi
    Signed-off-by: Mark Brown

    Peter Ujfalusi
     

13 Mar, 2013

1 commit

  • Convert all uses of devm_request_and_ioremap() to the newly introduced
    devm_ioremap_resource() which provides more consistent error handling.

    devm_ioremap_resource() provides its own error messages so all explicit
    error messages can be removed from the failure code paths.

    Signed-off-by: Silviu-Mihai Popescu
    Acked-by: Jarkko Nikula
    Acked-by: Peter Ujfalusi
    Signed-off-by: Mark Brown

    Silviu-Mihai Popescu
     

06 Mar, 2013

1 commit

  • Fixes:
    sound/soc/omap/omap3pandora.c: In function ‘omap3pandora_dac_event’:
    sound/soc/omap/omap3pandora.c:92:19: error: request for member ‘dev’ in something not a structure or union
    make[3]: *** [sound/soc/omap/omap3pandora.o] Error 1

    Which is introduced by:
    dd194b4 ASoC: omap: Check regulator enable for DAC on Pandora

    Signed-off-by: Peter Ujfalusi
    Signed-off-by: Mark Brown

    Peter Ujfalusi
     

04 Mar, 2013

3 commits


13 Feb, 2013

1 commit


12 Feb, 2013

1 commit