1. 21 Mar, 2014 1 commit
    • Lars-Peter Clausen's avatar
      ASoC: mfld_machine: Convert to table based DAPM and control setup · 43b95634
      Lars-Peter Clausen authored
      Use table based setup to register the controls and DAPM widgets and routes.
      This on one hand makes the code a bit cleaner and on the other hand
      the board level DAPM elements get registered in the card's DAPM context rather
      than in the CODEC's DAPM context.
      
      The mfld_machine driver is a bit special in that it directly writes to one of
      the CODEC registers from one of the control handlers. Previous to this patch it
      was able to get a pointer to the CODEC from the control, since the control was
      registered with the CODEC. This won't be possible anymore once the control is
      registered with the card. Since there are already global variables in the driver
      accessed in the same function the patch adds a global variable that holds a
      pointer to the CODEC and uses that.
      Signed-off-by: default avatarLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: default avatarMark Brown <broonie@linaro.org>
      43b95634
  2. 13 Mar, 2014 2 commits
    • Mark Brown's avatar
      Merge tag 'asoc-v3.15' into asoc-intel · 234bf1f0
      Mark Brown authored
      ASoC: Updates for v3.15
      
      Quite a busy release for ASoC this time, more on janitorial work than
      exciting new features but welcome nontheless:
      
       - Lots of cleanups from Takashi for enumerations; the original API for
         these was error prone so he's refactored lots of code to use more
         modern APIs which avoid issues.
       - Elimination of the ASoC level wrappers for I2C and SPI moving us
         closer to converting to regmap completely and avoiding some
         randconfig hassle.
       - Provide both manually and transparently locked DAPM APIs rather than
         a mix of the two fixing some concurrency issues.
       - Start converting CODEC drivers to use separate bus interface drivers
         rather than having them all in one file helping avoid dependency
         issues.
       - DPCM support for Intel Haswell and Bay Trail platforms.
       - Lots of work on improvements for simple-card, DaVinci and the Renesas
         rcar drivers.
       - New drivers for Analog Devices ADAU1977, TI PCM512x and parts of the
         CSR SiRF SoC.
      
      Conflicts:
      	sound/soc/intel/Kconfig
      234bf1f0
    • Stephen Warren's avatar
      ASoC: Intel: don't select RT5640 if !I2C · f410d5c9
      Stephen Warren authored
      The rt5640 driver won't compile without I2C enabled. Hence, the Intel
      Haswell and Baytrail+RT5640 ASoC drivers must also depend on I2C, since
      these select RT5640.
      
      This solves:
      sound/soc/codecs/rt5640.c:2220:1: warning: data definition has no type or storage class [enabled by default]
      sound/soc/codecs/rt5640.c:2220:1: error: type defaults to ‘int’ in declaration of ‘module_i2c_driver’ [-Werror=implicit-int]
      sound/soc/codecs/rt5640.c:2220:1: warning: parameter names (without types) in function declaration [enabled by default]
      sound/soc/codecs/rt5640.c:2210:26: warning: ‘rt5640_i2c_driver’ defined but not used [-Wunused-variable]
      Reported-by: default avatarJim Davis <jim.epost@gmail.com>
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      Signed-off-by: default avatarMark Brown <broonie@linaro.org>
      f410d5c9
  3. 12 Mar, 2014 19 commits
  4. 10 Mar, 2014 18 commits