1. 08 May, 2012 1 commit
  2. 07 May, 2012 1 commit
  3. 05 May, 2012 1 commit
  4. 26 Apr, 2012 1 commit
  5. 24 Apr, 2012 9 commits
  6. 21 Apr, 2012 1 commit
  7. 18 Apr, 2012 3 commits
  8. 15 Apr, 2012 2 commits
  9. 13 Apr, 2012 9 commits
  10. 10 Apr, 2012 3 commits
  11. 07 Apr, 2012 7 commits
  12. 06 Apr, 2012 1 commit
  13. 05 Apr, 2012 1 commit
    • Stephen Warren's avatar
      ASoC: set idle_bias_off=1 for all platform DAPM contexts · 3fec6b6d
      Stephen Warren authored
      The ASoC core currently defaults to using STANDBY rather than OFF for
      idle ASoC platform devices, which causes a permanent pm_runtime_get() on
      them. This keeps the device active unnecessarily. This can be especially
      problematic when the ASoC platform device and DAI device are the same
      device.
      
      The distinction between OFF and STANDBY is likely not relevant for ASoC
      platform drivers, since they aren't analog devices. So, solve this issue
      by hard-coding idle_bias_off = 1 for all ASoC platform devices. If this
      turns out to be a problem, this value could be sourced from the
      snd_soc_platform_driver, similarly to soc_probe_codec().
      
      Note: Prior to this change, this caused a large (10) runtime_active count
      for the Tegra I2S controller even when not in use, and a leak in that
      value as streams were started and stopped. This change probably hides a
      bug.
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      3fec6b6d