1. 12 3月, 2012 17 次提交
  2. 10 2月, 2012 1 次提交
    • A
      ASoC: Fix build error in sound/soc/omap/n810.c · 625136eb
      Axel Lin 提交于
      Fix below build error which is introduced by
      commit 022658 "ASoC: core: Add support for DAI and machine kcontrols".
      
        CC [M]  sound/soc/omap/n810.o
      sound/soc/omap/n810.c: In function 'n810_set_input':
      sound/soc/omap/n810.c:194: error: 'codec' undeclared (first use in this function)
      sound/soc/omap/n810.c:194: error: (Each undeclared identifier is reported only once
      sound/soc/omap/n810.c:194: error: for each function it appears in.)
      sound/soc/omap/n810.c:188: warning: unused variable 'card'
      make[3]: *** [sound/soc/omap/n810.o] Error 1
      make[2]: *** [sound/soc/omap] Error 2
      make[1]: *** [sound/soc] Error 2
      make: *** [sound] Error 2
      Signed-off-by: NAxel Lin <axel.lin@gmail.com>
      Acked-by: NJarkko Nikula <jarkko.nikula@bitmer.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      625136eb
  3. 04 2月, 2012 1 次提交
    • L
      ASoC: core: Add support for DAI and machine kcontrols. · 022658be
      Liam Girdwood 提交于
      Currently ASoC can only add kcontrols using codec and platform component device
      handles. It's also desirable to add kcontrols for DAIs (i.e. McBSP) and for
      SoC card machine drivers too. This allows the kcontrol to have a direct handle to
      the parent ASoC component DAI/SoC Card/Platform/Codec device and hence easily
      get it's private data.
      
      This change makes snd_soc_add_controls() static and wraps it in the folowing
      calls (card and dai are new) :-
      
      snd_soc_add_card_controls()
      snd_soc_add_codec_controls()
      snd_soc_add_dai_controls()
      snd_soc_add_platform_controls()
      
      This patch also does a lot of small mechanical changes in individual codec drivers
      to replace snd_soc_add_controls() with snd_soc_add_codec_controls().
      
      It also updates the McBSP DAI driver to use snd_soc_add_dai_controls().
      
      Finally, it updates the existing machine drivers that register controls to either :-
      
      1) Use snd_soc_add_card_controls() where no direct codec control is required.
      2) Use snd_soc_add_codec_controls() where there is direct codec control.
      
      In the case of 1) above we also update the machine drivers to get the correct
      component data pointers from the kcontrol (rather than getting the machine pointer
      via the codec pointer).
      Signed-off-by: NLiam Girdwood <lrg@ti.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      022658be
  4. 26 1月, 2012 10 次提交
  5. 20 1月, 2012 2 次提交
  6. 09 1月, 2012 1 次提交
    • J
      ASoC: cx20442: add bias control over a platform provided regulator · f75a8ff6
      Janusz Krzysztofik 提交于
      Now that a regulator device for controlling the codec chip reset state
      over a platform agnostic regulator API is available on the only board
      using this driver so far, extend the driver with a bias control function
      which will request virtual power to the codec chip from that virtual
      regulator, and will supersede the present implementation existing at the
      sound card level.
      
      Thanks to the regulator sharing mechanism, both the old (the sound card)
      and the new (the codec) implementations should coexist smoothly until
      the sound card file is updated. For this to work as expected, update the
      sound card .set_bias_level callback to not touch codec->dapm.bias_level.
      
      While extending the cx20442 structure, drop unused control_type member.
      
      Created against linxu-3.2-rc6, tested on top of patch 1/4 "ARM: OMAP1:
      ams-delta: set up a regulator over the modem reset GPIO pin".
      Signed-off-by: NJanusz Krzysztofik <jkrzyszt@tis.icnet.pl>
      Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: NLiam Girdwood <lrg@ti.com>
      f75a8ff6
  7. 08 1月, 2012 1 次提交
  8. 24 12月, 2011 1 次提交
  9. 17 12月, 2011 1 次提交
  10. 13 12月, 2011 1 次提交
  11. 08 12月, 2011 2 次提交
  12. 29 11月, 2011 2 次提交