26 Apr, 2011

13 commits


21 Apr, 2011

2 commits


20 Apr, 2011

12 commits

  • In addition to the currently supported analog capture path, the WM8903
    also supports digital mics.

    The analog and digital capture paths are exclusive; a mux is present to
    select the capture source.

    Logically, the mux exists to select the decimator's input, from either
    the ADC or DMIC block outputs. However, the ADC power domain also
    includes the DMIC interface. Consequently, this change represents the
    mux as existing immediately before the ADC, and selecting between the
    Input PGA and DMIC block outputs.

    An alternative might be to represent the mux in its correct location,
    and associate the ADC power enable controls with both the real ADC, and
    a fake ADC for the DMIC?

    Signed-off-by: Stephen Warren
    Acked-by: Liam Girdwood
    Signed-off-by: Mark Brown

    Stephen Warren
     
  • This patch adds the equalizer and biquad filter controls.

    Signed-off-by: Peter Hsiang
    Acked-by: Liam Girdwood
    Signed-off-by: Mark Brown

    Peter Hsiang
     
  • Replace calls to a variety of registration functions by updating
    struct snd_soc_card snd_soc_tegra_wm8903 to directly point at the
    various control/widget/map tables instead. The ASoC core now
    performs any required registration based on these data fields.

    (Applying Mark's TrimSlice review comments to the existing driver)

    Signed-off-by: Stephen Warren
    Acked-by: Liam Girdwood
    Signed-off-by: Mark Brown

    Stephen Warren
     
  • Signed-off-by: Lu Guanqun
    Acked-by: Liam Girdwood
    Signed-off-by: Mark Brown

    Lu Guanqun
     
  • replace the tab with spaces,
    make it align with other paragraphs

    Signed-off-by: Lu Guanqun
    Acked-by: Liam Girdwood
    Signed-off-by: Mark Brown

    Lu Guanqun
     
  • `type` parameter is not longer used in `snd_soc_codec_set_cache_io`,
    so remove this line.

    Signed-off-by: Lu Guanqun
    Acked-by: Liam Girdwood
    Signed-off-by: Mark Brown

    Lu Guanqun
     
  • Signed-off-by: Lu Guanqun
    Acked-by: Liam Girdwood
    Signed-off-by: Mark Brown

    Lu Guanqun
     
  • Not all widgets on a card are within the codec's DAPM context. Fix
    snd_soc_dapm_get_pin_status to search all contexts when looking for a
    widget.

    This change is required when modifying tegra_wm8903 to use
    snd_soc_card.widgets rather than calling snd_soc_dapm_new_controls; the
    former adds the widgets to the card's DAPM context, whereas tegra_wm8903
    uses the codec's DAPM context when calling snd_soc_dapm_new_controls.

    By code inspection, I suspect this also applies to Samsung Speyside.

    Signed-off-by: Stephen Warren
    Acked-by: Liam Girdwood
    Signed-off-by: Mark Brown

    Stephen Warren
     
  • Card widgets are created in the card's DAPM context, not any codec's DAPM
    context. Hence, w->codec==NULL. Instead, find the card from the widget
    through the DAPM context of the widget, not the codec of the widget.

    Signed-off-by: Stephen Warren
    Acked-by: Liam Girdwood
    Signed-off-by: Mark Brown

    Stephen Warren
     
  • Only the clock programming code needs to know whether the clocks changed,
    and that is encapsulated within tegra_asoc_utils_set_rate(). The machine
    driver's call to snd_soc_dai_set_sysclk(codec_dai, ...) is safe
    irrespective of whether the clocks changed.

    (Applying Mark's TrimSlice review comments to the existing driver)

    Signed-off-by: Stephen Warren
    Acked-by: Liam Girdwood
    Signed-off-by: Mark Brown

    Stephen Warren
     
  • When the driver is not initialized/registered, nothing should be touching
    these fields anyway, so there's no point clearing them out.

    (Applying Mark's TrimSlice review comments to the existing driver)

    Signed-off-by: Stephen Warren
    Acked-by: Liam Girdwood
    Signed-off-by: Mark Brown

    Stephen Warren
     
  • This machine driver is a platform driver, and hence will only be
    instantiated on the correct machines. Hence, there is no need to
    check the current machine during probe.

    (Applying Mark's TrimSlice review comments to the existing driver)

    Signed-off-by: Stephen Warren
    Acked-by: Liam Girdwood
    Signed-off-by: Mark Brown

    Stephen Warren
     

19 Apr, 2011

11 commits


14 Apr, 2011

2 commits