1. 05 Oct, 2011 5 commits
  2. 04 Oct, 2011 30 commits
  3. 03 Oct, 2011 5 commits
    • Mark Brown's avatar
      11c2b5f2
    • Mark Brown's avatar
      ASoC: Instantiate DAPM widgets before we do the DAI link init · 0b07ab92
      Mark Brown authored
      The DAI init function may want to do something that needs the widgets to
      be instantiated.
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      0b07ab92
    • Axel Lin's avatar
      ASoC: samsung: s3c-i2s-v2.c needs module.h · f3a54a28
      Axel Lin authored
      Include <linux/module.h> to fix below build error:
      
        CC      sound/soc/samsung/s3c-i2s-v2.o
      sound/soc/samsung/s3c-i2s-v2.c:573: warning: data definition has no type or storage class
      sound/soc/samsung/s3c-i2s-v2.c:573: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
      sound/soc/samsung/s3c-i2s-v2.c:573: warning: parameter names (without types) in function declaration
      sound/soc/samsung/s3c-i2s-v2.c:638: warning: data definition has no type or storage class
      sound/soc/samsung/s3c-i2s-v2.c:638: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
      sound/soc/samsung/s3c-i2s-v2.c:638: warning: parameter names (without types) in function declaration
      sound/soc/samsung/s3c-i2s-v2.c:677: warning: data definition has no type or storage class
      sound/soc/samsung/s3c-i2s-v2.c:677: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
      sound/soc/samsung/s3c-i2s-v2.c:677: warning: parameter names (without types) in function declaration
      sound/soc/samsung/s3c-i2s-v2.c: In function 's3c_i2sv2_register_dai':
      sound/soc/samsung/s3c-i2s-v2.c:736: warning: initialization discards qualifiers from pointer target type
      sound/soc/samsung/s3c-i2s-v2.c: At top level:
      sound/soc/samsung/s3c-i2s-v2.c:754: warning: data definition has no type or storage class
      sound/soc/samsung/s3c-i2s-v2.c:754: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
      sound/soc/samsung/s3c-i2s-v2.c:754: warning: parameter names (without types) in function declaration
      sound/soc/samsung/s3c-i2s-v2.c:756: error: expected declaration specifiers or '...' before string constant
      sound/soc/samsung/s3c-i2s-v2.c:756: warning: data definition has no type or storage class
      sound/soc/samsung/s3c-i2s-v2.c:756: warning: type defaults to 'int' in declaration of 'MODULE_LICENSE'
      sound/soc/samsung/s3c-i2s-v2.c:756: warning: function declaration isn't a prototype
      make[3]: *** [sound/soc/samsung/s3c-i2s-v2.o] Error 1
      make[2]: *** [sound/soc/samsung] Error 2
      make[1]: *** [sound/soc] Error 2
      make: *** [sound] Error 2
      Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      f3a54a28
    • Arnd Bergmann's avatar
      ASoC: samsung: WM8994 depends on MFD_WM8994 · 61e49bf1
      Arnd Bergmann authored
      Any driver that selects SND_SOC_WM8994 should also make sure that
      MFD_WM8994 is set, since the codec relies on the mfd code:
      
        sound/built-in.o: In function `wm8994_read':
        last.c:(.text+0x20160): undefined reference to `wm8994_reg_read'
        sound/built-in.o: In function `wm8994_write':
        last.c:(.text+0x20e68): undefined reference to `wm8994_reg_write'
      
      This solves the problem by selecting the MFD driver directly
      and adding extra 'depends on' statements to make sure that we
      respect the dependencies of that driver.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      61e49bf1
    • Axel Lin's avatar
      ASoC: Fix setting update bits for WM8741_DACRMSB_ATTENUATION · 9b5999b1
      Axel Lin authored
      After checking the code and datasheet, I think what we want in the second
      snd_soc_update_bits call is to update WM8741_DACRMSB_ATTENUATION register
      instead of WM8741_DACRLSB_ATTENUATION.
      Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      9b5999b1