1. 04 5月, 2011 6 次提交
  2. 28 4月, 2011 1 次提交
  3. 20 4月, 2011 2 次提交
  4. 09 4月, 2011 2 次提交
    • M
      ASoC: Allow DAPM pin operations to match any context · 0d86733c
      Mark Brown 提交于
      The DAPM pin operations currently require that the specific DAPM context
      that the pin being operated in is contained in be specified. With multi
      component and especially with the addition of a per-card DAPM context
      this isn't ideal as it means that things like disabling unused pins on
      CODECs require looking up the CODEC DAPM context.
      
      Fix this by falling back to matching a widget in any context if there isn't
      a match in the current context. The code isn't ideal currently but will do
      the job.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Acked-by: NLiam Girdwood <lrg@ti.com>
      0d86733c
    • M
      ASoC: Force all DAPM contexts into the same bias state · 52ba67bf
      Mark Brown 提交于
      Currently we allow all DAPM contexts to determine their own bias level.
      While this should in general work in most situations and will deliver the
      lowest possible power it causes problems for our integration with the
      card bias level as we're calling the card bias level functions for each
      DAPM context even though they're card wide but don't say which CODEC
      we're calling them for. Mitigate against this by forcing everything to
      be in the same state.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Acked-by: NLiam Girdwood <lrg@ti.com>
      52ba67bf
  5. 08 4月, 2011 1 次提交
  6. 05 4月, 2011 1 次提交
  7. 09 3月, 2011 3 次提交
  8. 03 3月, 2011 2 次提交
  9. 25 2月, 2011 1 次提交
  10. 23 2月, 2011 2 次提交
  11. 19 2月, 2011 1 次提交
  12. 14 2月, 2011 1 次提交
  13. 10 2月, 2011 1 次提交
  14. 28 1月, 2011 1 次提交
  15. 27 1月, 2011 1 次提交
  16. 19 1月, 2011 3 次提交
  17. 22 12月, 2010 1 次提交
  18. 18 12月, 2010 1 次提交
  19. 17 12月, 2010 1 次提交
  20. 16 12月, 2010 3 次提交
    • J
      ASoC: Extend DAPM to handle power changes on cross-device paths · 7be31be8
      Jarkko Nikula 提交于
      Power change event like stream start/stop or kcontrol change in a
      cross-device path originates from one device but codec bias and widget power
      changes must be populated to another devices on that path as well.
      
      This patch modifies the dapm_power_widgets so that all the widgets on a
      sound card are checked for a power change, not just those that are specific
      to originating device. Also bias management is extended to check all the
      devices. Only exception in bias management are widgetless codecs whose bias
      state is changed only if power change is originating from that context.
      
      DAPM context test is added to dapm_seq_run to take care of if power sequence
      extends to an another device which requires separate register writes.
      Signed-off-by: NJarkko Nikula <jhnikula@gmail.com>
      Acked-by: NLiam Girdwood <lrg@slimlogic.co.uk>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      7be31be8
    • J
      ASoC: Move widgets from DAPM context to snd_soc_card · 97c866de
      Jarkko Nikula 提交于
      Decoupling widgets from DAPM context is required when extending the ASoC
      core to cross-device paths. Even the list of widgets are now kept in
      struct snd_soc_card, the widget listing in sysfs and debugs remain sorted
      per device.
      
      This patch makes possible to build cross-device paths but does not extend
      yet the DAPM to handle codec bias and widget power changes of an another
      device.
      
      Cross-device paths are registered by listing the widgets from device A in
      a map for device B. In case of conflicting widget names between the devices,
      a uniform name prefix is needed to separate them. See commit ead9b919
      "ASoC: Add optional name_prefix for kcontrol, widget and route names" for
      help.
      
      An example below shows a path that connects MONO out of A into Line In of B:
      
      static const struct snd_soc_dapm_route mapA[] = {
      	{"MONO", NULL, "DAC"},
      };
      
      static const struct snd_soc_dapm_route mapB[] = {
      	{"Line In", NULL, "MONO"},
      };
      Signed-off-by: NJarkko Nikula <jhnikula@gmail.com>
      Acked-by: NLiam Girdwood <lrg@slimlogic.co.uk>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      97c866de
    • J
      ASoC: Move DAPM paths from DAPM context to snd_soc_card · 8ddab3f5
      Jarkko Nikula 提交于
      Decoupling DAPM paths from DAPM context is a first prerequisite when
      extending ASoC core to cross-device paths. This patch is almost a nullop and
      does not allow to construct cross-device setup but the path clean-up part in
      dapm_free_widgets is prepared to remove cross-device paths between a device
      being removed and others.
      Signed-off-by: NJarkko Nikula <jhnikula@gmail.com>
      Acked-by: NLiam Girdwood <lrg@slimlogic.co.uk>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      8ddab3f5
  21. 14 12月, 2010 3 次提交
  22. 06 12月, 2010 1 次提交
  23. 22 11月, 2010 1 次提交