13 Nov, 2009

1 commit


04 Nov, 2009

1 commit

  • snd_soc_init_card() is always called as the last part of the CODEC probe
    function so we can factor it out into the core card setup rather than
    have each CODEC replicate the code to do the initialiastation. This will
    be required to support multiple CODECs per card.

    Signed-off-by: Mark Brown

    Mark Brown
     

06 Sep, 2009

1 commit

  • More and more devices feature PLLs and FLLs with the ability to select
    between multiple input clocks. In order to better support these devices
    a new argument, source, has been added to the set_pll() configuration
    API. Using set_clkdiv() is often difficult due to the need to stop the
    PLL/FLL before any reconfiguration can be done.

    Signed-off-by: Mark Brown

    Mark Brown
     

28 May, 2009

1 commit


02 May, 2009

1 commit

  • The AC97 wire format is completely fixed so CODECs don't have any choice
    about the formats they accept but controllers accept a variety of data
    formats and render them down onto the bus. Have a shared define so all
    the CODEC drivers will interoperate with any of our controller drivers.

    Signed-off-by: Mark Brown

    Mark Brown
     

13 Apr, 2009

2 commits


05 Mar, 2009

1 commit

  • Considering the fact that most cpu_dai or codec_dai are using a same
    'snd_soc_dai_ops' for several similar interfaces, 'ops' would be better
    made a pointer instead, to make sharing easier and code a bit cleaner.

    The patch below is rather preliminary since the asoc tree is being
    actively developed, and this touches almost every piece of code,
    (and possibly many others in development need to be changed as
    well). Building of all codecs are OK, yet to every SoC, I didn't test
    that.

    Signed-off-by: Eric Miao
    Acked-by: Timur Tabi
    Signed-off-by: Mark Brown

    Eric Miao
     

25 Feb, 2009

1 commit


27 Jan, 2009

1 commit


20 Jan, 2009

1 commit


17 Jan, 2009

1 commit


09 Jan, 2009

1 commit

  • Many codec drivers were implementing cookie-cutter copies of the function
    that adds kcontrols to the codec.

    This patch moves this code to a common function snd_soc_add_controls() in
    soc-core.c and updates all drivers using copies of this function to use the
    new common version.

    [Edited to raise priority of error log message and document parameters.
    -- broonie]

    Signed-off-by: Ian Molton
    Signed-off-by: Mark Brown

    Ian Molton
     

02 Dec, 2008

2 commits


25 Nov, 2008

1 commit

  • DAI type information is only ever used within ASoC in order to special
    case AC97 and for diagnostic purposes. Since modern CPUs and codecs
    support multi function DAIs which can be configured for several modes
    it is more trouble than it's worth to maintain anything other than a
    flag identifying AC97 DAIs so remove the type field and replace it with
    an ac97_control flag.

    Signed-off-by: Mark Brown

    Mark Brown
     

24 Nov, 2008

1 commit


21 Nov, 2008

2 commits


31 Oct, 2008

1 commit


30 Oct, 2008

2 commits


13 Oct, 2008

1 commit


23 Sep, 2008

1 commit

  • The stereo ADC in the WM9713 can be used to produce data for both the
    standard AC97 interface and the additional voice PCM interface. Support
    use on both by defining virtual ADCs tied to each accepting the output
    from the actual ADCs.

    Reported-by: Rodolfo Giometti
    Signed-off-by: Mark Brown
    Signed-off-by: Jaroslav Kysela

    Mark Brown
     

09 Sep, 2008

1 commit


10 Jul, 2008

2 commits


16 Jun, 2008

1 commit


13 Jun, 2008

1 commit


19 May, 2008

3 commits

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

    Mark Brown
     
  • 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 overwhelming majority just say 'initial version' anyway.

    Signed-off-by: Mark Brown
    Acked-by: Ben Dooks
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Mark Brown
     

24 Apr, 2008

3 commits