10 Jul, 2008

2 commits


16 Jun, 2008

1 commit

  • On OpenMoko soc-audio resume is taking 700ms of the whole resume time of
    1.3s, dominated by writes to the codec over I2C. This patch shunts the
    resume guts into a workqueue which then is done asynchronously.

    The "card" is locked using the ALSA power state APIs as suggested by
    Mark Brown.

    [Added fix for race with resume to suspend and fixed a couple of nits
    from checkpatch -- broonie.]

    Signed-off-by: Andy Green
    Signed-off-by: Mark Brown
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Andy Green
     

13 Jun, 2008

2 commits


29 May, 2008

1 commit


19 May, 2008

2 commits

  • Currently the ASoC core configures the bias levels in the system using
    a callback on codecs and machines called 'dapm_event', passing it PCI
    style power levels as SNDRV_CTL_POWER_ constants. This is more obscure
    than it needs to be and has caused confusion to driver authors,
    especially given that DAPM is also performing power management.

    Address this by renaming the callback function to 'set_bias_level' and
    using constants explicitly representing the off, standby, pre-on and on
    states which DAPM transitions through.

    Also unexport the API for setting bias level: there are currently no
    in-tree users of this API other than the core itself and it is likely
    that the core would need to be extended to cater for any users.

    Signed-off-by: Mark Brown
    Cc: Jarkko Nikula
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Mark Brown
     
  • The CPU and codec DAI operations differ only in the presence of the
    digital mute operation for the codec so they may as well be the same
    type.

    Signed-off-by: Mark Brown
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Mark Brown
     

13 May, 2008

1 commit


01 Feb, 2008

5 commits


16 Oct, 2007

1 commit


16 May, 2007

1 commit

  • This patch fixes a bug whereby AC97 bus device data was being clobbered
    when AC97 codecs using the generic ac97_codec.c driver were being
    registered. Codecs that didn't use the generic driver were unaffected
    (e.g. WM9712, WM9713).
    Changes:-
    o Add new AC97 codec class for custom (or need bus dev registration)
    AC97 codecs.
    o Only register/deregister this custom codec device with the AC97 bus.
    The generic AC97 driver already does this for generic codec devices.
    This may be related to bug #3038 :-
    https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3038

    Signed-off-by: Liam Girdwood
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Liam Girdwood
     

09 Feb, 2007

5 commits

  • This patch updates the API's to include the new DAI configuration and
    clocking architecture.
    Changes:-
    o Removed DAI automatic matching and capabilities structure (struct
    snd_soc_dai_mode) and macros.
    o Added DAI operations for codec and CPU interfaces.
    o Removed config_sysclk() function and struct snd_soc_clock_info. No
    longer needed as clocking is now configured manually in the machine
    drivers. Also removed other clocking data from structures.
    o Updated version to 0.13
    o Added shift to SOC_SINGLE_EXT kcontrol macro.

    Signed-off-by: Graeme Gregory
    Signed-off-by: Liam Girdwood
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Graeme Gregory
     
  • Fix the changes realted to delayed_work in soc/codecs/wm8750.c.

    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Takashi Iwai
     
  • From: Andrew Morton
    I converted the workqueues to per-device while I was there. It seems
    strange to create a new kernel thread (on each CPU!) and to then only
    have a single global work to ever be queued upon it.
    Plus without this, I'd have to use the _NAR stuff, gawd help me.
    Does that workqueue really need to be per-cpu?
    Does that workqueue really need to exist? Why not use keventd?
    Cc: Takashi Iwai
    Cc: David Howells

    Signed-off-by: Andrew Morton
    Signed-off-by: Jaroslav Kysela

    Andrew Morton
     
  • This patch adds support for the DAI BCLK to be generated by multiplying
    Rate * Channels * Word Size (RCW).
    This now gives 3 options for BCLK clocking and synchronisation :-
    1. BCLK = Rate * x
    2. BCLK = MCLK / x
    3. BCLK = Rate * Chn * Word Size. (New)
    Changes:-
    o Add support for RCW generation of BCLK
    o Update Documentation to include RCW.
    o Update DAI documentation for label = value DAI modes.
    o Add RCW support to wm8731, wm8750 and pxa2xx-i2s drivers.

    Signed-off-by: Liam Girdwood
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Liam Girdwood
     
  • This patch adds the ASoC and DAPM headers.
    Features:-
    o Defines Digital Audio Interface (DAI) API
    o Defines Codec, Platform and Machine API
    o Defines Dynamic Audio Power Management API

    Signed-off-by: Richard Purdie
    Signed-off-by: Liam Girdwood
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Richard Purdie