04 Nov, 2009

1 commit

  • This is a port of the sound/oss/sh_dac_audio.c driver.
    The driver uses an on-chip 8-bit D/A converter, which has a speaker connected
    to one of its channels, found in several ancient HP machines.
    For interrupts it uses a high-resolution timer (hrtimer).
    Tested on SH7709 based hp6xx (HP Jornada 680/690 and HP Palmtop 620lx/660lx).

    Also, since OSS Emulation works, the old OSS sound/oss/sh_dac_audio.c driver
    would be obsolete soon, and it could be removed.

    Signed-off-by: Rafael Ignacio Zurita
    Acked-by: Paul Mundt
    Signed-off-by: Takashi Iwai

    Rafael Ignacio Zurita
     

02 Oct, 2009

1 commit


01 Oct, 2009

1 commit


10 Sep, 2009

7 commits


08 Sep, 2009

2 commits


07 Sep, 2009

3 commits


03 Sep, 2009

1 commit


28 Aug, 2009

2 commits


27 Aug, 2009

1 commit

  • Add debug module option to snd core.
    This controls the debug print level. When CONFIG_SND_DEBUG_VERBOSE
    is set, you can suppress the debug messages by giving or changing this
    parameter to a lower value. debug=0 means no debug messsages.
    As default, it's set to the verbose level 2.

    Since this option can be changed dynamically via sysfs file, you can
    suppress the verbose debug messages on the fly, which wasn't possible
    before.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     

25 Aug, 2009

1 commit


22 Aug, 2009

1 commit

  • Currently when built with DEBUG DAPM will dump information about
    the power state decisions it is taking for each widget to dmesg.
    This isn't an ideal way of getting the information - it requires
    a kernel build to turn it on and off and for large hub CODECs the
    volume of information is so large as to be illegible. When the
    output goes to the console it can also cause a noticable impact
    on performance simply to print it out.

    Improve the situation by adding a dapm directory to our debugfs
    tree containing a file per widget with the same information in
    it. This still requires a decision to build with debugfs support
    but is easier to navigate and much less intrusive.

    In addition to the previously displayed information active streams
    are also shown in these files.

    Signed-off-by: Mark Brown

    Mark Brown
     

21 Aug, 2009

1 commit


18 Aug, 2009

1 commit

  • Currently DAPM interfaces with the audio streams to and from the
    processor at the DAC and ADC widgets. As the digital capabilities
    of parts increases this is becoming a less and less able to meet
    the needs of parts.

    To meet the needs of these devices create new widgets interfacing
    with the TDM bus but not integrated into any other functionality.
    Audio can then be routed to and from these widgets using existing
    routing widgets.

    A slot number is provided in the definition but this is currently
    not used yet. This is intended to support devices which can use
    more than one TDM slot on a single interface.

    Signed-off-by: Mark Brown

    Mark Brown
     

14 Aug, 2009

1 commit


11 Aug, 2009

1 commit


10 Aug, 2009

2 commits


07 Aug, 2009

1 commit


06 Aug, 2009

1 commit

  • Extend set_tdm_slot to allow the user to arbitrarily set the frame width
    and active TX/RX slots.

    Updates magician.c and wm9081.c for the new set_tdm_slot(). wm9081.c
    still doesn't handle the slot_width override.

    While being there, correct an incorrect use of SlotsPerFrm(7) use in
    bitmask on pxa-ssp.c (SSCR0_SlotsPerFrm(x) is (((x) - 1) << 24)) ).

    (this series is meant for Mark's for-2.6.32 branch)

    Signed-off-by: Daniel Ribeiro
    Signed-off-by: Mark Brown

    Daniel Ribeiro
     

03 Aug, 2009

2 commits


01 Aug, 2009

1 commit


23 Jul, 2009

1 commit


15 Jul, 2009

2 commits


14 Jul, 2009

1 commit


09 Jul, 2009

1 commit


08 Jul, 2009

1 commit

  • Using SG-buffers with dma_alloc_coherent() is often very inefficient
    on non-coherent architectures because a tracking record could be
    allocated in addition for each dma_alloc_coherent() call.
    Instead, simply disable SG-buffers but just allocate normal continuous
    buffers on non-supported (currently all but x86) architectures.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     

06 Jul, 2009

1 commit

  • A lot of CODECs share the same register data formats and therefore
    replicate the code to manage access to and caching of the register
    map. In order to reduce code duplication centralised versions of
    this code will be introduced with drivers able to configure the use
    of the common code by calling the new snd_soc_codec_set_cache_io()
    API call during startup.

    As an initial user the 7 bit address/9 bit data format used by many
    Wolfson devices is supported for write only CODECs and the drivers
    with straightforward register cache implementations are converted to
    use it.

    Signed-off-by: Mark Brown

    Mark Brown
     

05 Jul, 2009

1 commit