1. 29 Nov, 2010 3 commits
    • Axel Lin's avatar
      ASoC: Fix compile error for nuc900-pcm.c · a7a9820b
      Axel Lin authored
      This patch fixes below error:
      
        CC      sound/soc/nuc900/nuc900-pcm.o
      sound/soc/nuc900/nuc900-pcm.c: In function 'nuc900_dma_open':
      sound/soc/nuc900/nuc900-pcm.c:267: error: 'nuc900_ac97_data' undeclared (first use in this function)
      sound/soc/nuc900/nuc900-pcm.c:267: error: (Each undeclared identifier is reported only once
      sound/soc/nuc900/nuc900-pcm.c:267: error: for each function it appears in.)
      sound/soc/nuc900/nuc900-pcm.c: At top level:
      sound/soc/nuc900/nuc900-pcm.c:337: error: expected ',' or ';' before 'static'
      sound/soc/nuc900/nuc900-pcm.c:354: error: 'nuc900_soc_platform_probe' undeclared here (not in a function)
      make[3]: *** [sound/soc/nuc900/nuc900-pcm.o] Error 1
      make[2]: *** [sound/soc/nuc900] Error 2
      make[1]: *** [sound/soc] Error 2
      make: *** [sound] Error 2
      Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
      Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      a7a9820b
    • Axel Lin's avatar
      ASoC: Fix prototype for nuc900_ac97_probe and nuc900_ac97_remove · e3edefbd
      Axel Lin authored
      This patch fixes below compile warning:
      
        CC      sound/soc/nuc900/nuc900-ac97.o
      sound/soc/nuc900/nuc900-ac97.c:300: warning: initialization from incompatible pointer type
      sound/soc/nuc900/nuc900-ac97.c:301: warning: initialization from incompatible pointer type
      Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
      Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      e3edefbd
    • Axel Lin's avatar
      ASoC: Fix compile error for nuc900-ac97.c · 5a8f1d47
      Axel Lin authored
      Fix below compile error by add a missing ';'.
      
        CC      sound/soc/nuc900/nuc900-ac97.o
      sound/soc/nuc900/nuc900-ac97.c:300: warning: initialization from incompatible pointer type
      sound/soc/nuc900/nuc900-ac97.c:301: warning: initialization from incompatible pointer type
      sound/soc/nuc900/nuc900-ac97.c:318: error: expected ',' or ';' before 'static'
      sound/soc/nuc900/nuc900-ac97.c:405: error: 'nuc900_ac97_drvprobe' undeclared here (not in a function)
      make[3]: *** [sound/soc/nuc900/nuc900-ac97.o] Error 1
      make[2]: *** [sound/soc/nuc900] Error 2
      make[1]: *** [sound/soc] Error 2
      make: *** [sound] Error 2
      Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
      Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      5a8f1d47
  2. 25 Nov, 2010 12 commits
  3. 24 Nov, 2010 5 commits
  4. 23 Nov, 2010 6 commits
  5. 22 Nov, 2010 5 commits
  6. 19 Nov, 2010 1 commit
  7. 18 Nov, 2010 1 commit
  8. 17 Nov, 2010 2 commits
    • Chris Paulson-Ellis's avatar
      ASoC: davinci: fixes for multi-component · bedad0ca
      Chris Paulson-Ellis authored
      Multi-component commit f0fba2ad broke a few things which this patch should
      fix. Tested on the DM355 EVM. I've been as careful as I can, but it would be
      good if those with access to other Davinci boards could test.
      
      --
      
      The multi-component commit put the initialisation of
      snd_soc_dai.[capture|playback]_dma_data into snd_soc_dai_ops.hw_params of the
      McBSP, McASP & VCIF drivers (davinci-i2s.c, davinci-mcasp.c & davinci-vcif.c).
      The initialisation had to be moved from the probe function in these drivers
      because davinci_*_dai changed from snd_soc_dai to snd_soc_dai_driver.
      
      Unfortunately, the DMA params pointer is needed by davinci_pcm_open (in
      davinci-pcm.c) before hw_params is called. I have moved the initialisation to
      a new snd_soc_dai_ops.startup function in each of these drivers. This fix
      indicates that all platforms that use davinci-pcm must have been broken and
      need to test with this fix.
      
      --
      
      The multi-component commit also changed the McBSP driver name from
      "davinci-asp" to "davinci-i2s" in davinci-i2s.c without updating the board
      level references to the driver name. This change is understandable, as there
      is a similarly named "davinci-mcasp" driver in davinci-mcasp.c.
      
      There is probably no 'correct' name for this driver. The DM6446 datasheet
      calls it the "ASP" and describes it as a "specialised McBSP". The DM355
      datasheet calls it the "ASP" and describes it as a "specialised ASP". The
      DM365 datasheet calls it the "McBSP". Rather than fix this problem by
      reverting to "davinci-asp", I've elected to avoid future confusion with the
      "davinci-mcasp" driver by changing it to "davinci-mcbsp", which is also
      consistent with the names of the functions in the driver. There are other
      fixes required, so it was never going to be as simple as a revert anyway.
      
      --
      
      The DM365 only has one McBSP port (of the McBSP platforms, only the DM355 has
      2 ports), so I've changed the the id of the platform_device from 0 to -1.
      
      --
      
      In davinci-evm.c, the DM6446 EVM can no longer share a snd_soc_dai_link
      structure with the DM355 EVM as they use different cpu DAI names (the DM355
      has 2 ports and the EVM uses the second port, but the DM6446 only has 1 port).
      This also means that the 2 boards need different snd_soc_card structures.
      
      --
      
      The codec_name entries in davinci-evm.c didn't match the i2c ids in the board
      files. I have only checked and fixed the details of the names used for the
      McBSP based platforms. Someone with a McASP based platform (eg DA8xx) should
      check the others.
      Signed-off-by: default avatarChris Paulson-Ellis <chris@edesix.com>
      Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      bedad0ca
    • Mark Brown's avatar
      ASoC: Fix register cache setup WM8994 for multi-component · 11e713a0
      Mark Brown authored
      During the multi-component conversion the WM8994 register cache init
      got lost.
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
      11e713a0
  9. 15 Nov, 2010 2 commits
  10. 11 Nov, 2010 1 commit
  11. 10 Nov, 2010 2 commits