1. 18 8月, 2015 1 次提交
    • M
      ASoC: topology: Add Kconfig option for topology · 78b50f39
      Mark Brown 提交于
      Allow the topology code to be compiled out so that users who don't need
      topology don't need to havve the code compiled in, saving them some
      memory.
      
      Some more configuration could be added to remove some of the hooks into
      the core data structures but that is probably best done with some
      refactoring to use functions to do the updates of the data structures
      rather than ifdefing in the code as we'd need to do at the minute.
      Suggested-by: NTakashi Iwai <tiwai@suse.de>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      78b50f39
  2. 06 8月, 2015 2 次提交
  3. 04 8月, 2015 2 次提交
  4. 29 7月, 2015 2 次提交
  5. 25 7月, 2015 1 次提交
    • A
      ASoC: cs4265: Fix setting dai format for Left/Right Justified · bffc4496
      Axel Lin 提交于
      The settings in current code does not match the datasheet, fix it.
      
      DAC Control - Address 03h
      
      DAC Digital Interface Format (Bits 5:4)
              DAC_DIF1 DAC_DIF0 Description
              0        0        Left Justified, up to 24-bit data (default)
              0        1        I²S, up to 24-bit data
              1        0        Right-Justified, 16-bit Data
              1        1        Right-Justified, 24-bit Data
      
      Transmitter Control 2 - Address 12h
      
      Transmitter Digital Interface Format (Bits 7:6)
              Tx_DIF1 Tx_DIF0 Description Format Figure
              0       0       Left Justified, up to 24-bit data (default)
              0       1       I²S, up to 24-bit data
              1       0       Right-Justified, 16-bit Data
              1       1       Right-Justified, 24-bit Data
      Signed-off-by: NAxel Lin <axel.lin@ingics.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      bffc4496
  6. 24 7月, 2015 1 次提交
  7. 22 7月, 2015 2 次提交
  8. 21 7月, 2015 1 次提交
    • L
      ASoC: dapm: Don't add prefix to widget stream name · a798c24a
      Lars-Peter Clausen 提交于
      Commit fdb6eb0a ("ASoC: dapm: Modify widget stream name according to
      prefix") fixed the case where a DAPM route between a DAI widget and a
      DAC/ADC/AIF widget with a matching stream name was not created when the
      DAPM context was using a prefix.
      
      Unfortunately the patch introduced a few issues on its own like leaking the
      dynamically allocated stream name memory and also not checking whether the
      allocation succeeded in the first place.
      
      It is also incomplete in that it still does not handle the case where
      stream name of the widget is a substring of the stream name of the DAI,
      which is explicitly allowed and works fine if no DAPM prefix is used.
      
      Revert the commit and take a slightly different approach to solving the
      issue. Instead of comparing the widget's stream name to the name of the DAI
      widget compare it to the stream name of the DAI widget. The stream name of
      the DAI widget is identical to the name of the DAI widget except that it
      wont have the DAPM prefix added. So this approach behaves identical
      regardless to whether the DAPM context uses a prefix or not.
      
      We don't have to worry about potentially matching with a widget with the
      same stream name, but from a different DAPM context with a different
      prefix, since the code already makes sure that both the DAI widget and the
      matched widget are from the same DAPM context.
      
      Fixes: fdb6eb0a ("ASoC: dapm: Modify widget stream name according to prefix")
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      Cc: stable@vger.kernel.org
      a798c24a
  9. 17 7月, 2015 1 次提交
  10. 16 7月, 2015 1 次提交
  11. 14 7月, 2015 1 次提交
  12. 13 7月, 2015 2 次提交
  13. 09 7月, 2015 4 次提交
  14. 07 7月, 2015 3 次提交
  15. 02 7月, 2015 1 次提交
  16. 26 6月, 2015 1 次提交
  17. 23 6月, 2015 1 次提交
  18. 19 6月, 2015 1 次提交
    • R
      ASoC: wm_adsp: Move DSP Rate controls into the codec · 336d0442
      Richard Fitzgerald 提交于
      The rate controls are codec-specific, it's not possible to
      generically say what the range or the meaning of each control
      is (or even if they exist at all) - that depends on the
      particular codec.
      
      This is currently being handled for Arizona codecs by putting
      an Arizona-specific table of controls inside the wm_adsp driver.
      This creates a dependency between wm_adsp and arizona.c, and is an
      awkward solution if the ADSP is used in another family of codecs
      
      Fix this by moving the Arizona-specific rate controls into the
      Arizona codec drivers.
      Signed-off-by: NRichard Fitzgerald <rf@opensource.wolfsonmicro.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      336d0442
  19. 18 6月, 2015 1 次提交
  20. 17 6月, 2015 1 次提交
  21. 16 6月, 2015 10 次提交