1. 01 Jun, 2018 2 commits
    • Mac Chiang's avatar
      ASoC: Intel: kbl: Move codec sysclk config to codec_init function · 56c3a953
      Mac Chiang authored
      On APL, commit fd0f2375
      ("ASoC: Intel: bxt: Move codec sysclk config to codec_init function")
      fixed an issue related to jack detection.
      
      The MCLK for DA7219 does not change in this platform, but is
      currently being configured everytime as part of the platform_clock
      event handler for DAPM. The upshot of this is that we have
      unnecessary calls to this function, and it also means that if
      a stream hasn't yet been started, DA7219 driver does not have the
      correct MCLK rates programmed and so the HP detection feature does
      not operate as expected.
      
      The same fix is needed on KBL.
      
      This patch rectifies this issue by moving the sysclk call to
      codec_init function so it's only called once at initialisation.
      Signed-off-by: default avatarMac Chiang <mac.chiang@intel.com>
      Acked-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      56c3a953
    • Daniel Mack's avatar
      ASoC: simple-card: set cpu dai clk in hw_params · e9be4ffd
      Daniel Mack authored
      The simple-card driver currently accepts a clock node in the cpu dai
      sub-node and only uses it as an alternative to the
      'system-clock-frequency' property to get the current frequency.
      
      This patch adds another use of the passed clock node. If mclk-fs is
      specified, the clocks in cpu and codec dai sub-nodes will be set to
      the calculated rate (stream rate * mclk_fs) in hw_params.
      
      This allows platforms to pass tuneable clocks as phandle that will
      automatically be set to the right rates.
      Signed-off-by: default avatarDaniel Mack <daniel@zonque.org>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      e9be4ffd
  2. 31 May, 2018 9 commits
  3. 30 May, 2018 3 commits
  4. 29 May, 2018 12 commits
  5. 25 May, 2018 4 commits
  6. 23 May, 2018 2 commits
  7. 22 May, 2018 6 commits
  8. 21 May, 2018 2 commits