1. 08 Aug, 2009 1 commit
    • Uwe Kleine-König's avatar
      ASoC: s3c2443-ac97: convert semaphore to mutex · dbe9ea6e
      Uwe Kleine-König authored
      This fixes a build failure for 2.6.31-rc4-rt1 (ARCH=arm, s3c2410_defconfig):
      
      	  CC [M]  sound/soc/s3c24xx/s3c2443-ac97.o
      	sound/soc/s3c24xx/s3c2443-ac97.c:50: warning: type defaults to 'int' in declaration of 'DECLARE_MUTEX'
      	sound/soc/s3c24xx/s3c2443-ac97.c:50: warning: parameter names (without types) in function declaration
      	sound/soc/s3c24xx/s3c2443-ac97.c: In function 's3c2443_ac97_read':
      	sound/soc/s3c24xx/s3c2443-ac97.c:59: error: 'ac97_mutex' undeclared (first use in this function)
      	sound/soc/s3c24xx/s3c2443-ac97.c:59: error: (Each undeclared identifier is reported only once
      	sound/soc/s3c24xx/s3c2443-ac97.c:59: error: for each function it appears in.)
      	sound/soc/s3c24xx/s3c2443-ac97.c: In function 's3c2443_ac97_write':
      	sound/soc/s3c24xx/s3c2443-ac97.c:93: error: 'ac97_mutex' undeclared (first use in this function)
      Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      dbe9ea6e
  2. 07 Aug, 2009 6 commits
  3. 06 Aug, 2009 3 commits
    • Janusz Krzysztofik's avatar
      ASoC: CX20442: simplify codec controller usage · 9029bb31
      Janusz Krzysztofik authored
      This patch is a workaround for the problem of several subsequent control
      statements not being applied correctly to the codec controller (modem).
      
      In order to follow the hook switch state change from handset to handsfree
      while
      in full duplex mode, two consecutive +VLS control commands were sent to the
      modem. The first one was M1 (microphone only), the seconds one was M1S1 (both
      microphone and speaker). As there was no real modem handshaking procedure
      implemented, neither in the codec nor in the machine driver part of the line
      discipline, the modem was having the second command missed.
      
      Since a possibility to switch to microphone only mode (and speaker only mode
      as well) seams of no value, I have modified the code to issue single M1S1
      command only for any of those cases.
      
      Tested on my Amstrad Delta.
      Signed-off-by: default avatarJanusz Krzysztofik <jkrzyszt@tis.icnet.pl>
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      9029bb31
    • Janusz Krzysztofik's avatar
      ASoC: CX20442: add some debugging · 4977b03e
      Janusz Krzysztofik authored
      This patch adds debugging statement that can help in tracing
      how the driver is trying to control the codec device.
      Signed-off-by: default avatarJanusz Krzysztofik <jkrzyszt@tis.icnet.pl>
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      4977b03e
    • Mark Brown's avatar
      ASoC: Add WM8776 CODEC driver · 924914ee
      Mark Brown authored
      The WM8776 is a high performance, stereo audio CODEC with five channel
      input selector. The WM8776 is ideal for surround sound processing
      applications for home hi-fi, DVD-RW and other audio visual equipment.
      
      This driver implements support for most WM8776 features - currently the
      ADC automatic level control/limiter functionality is omitted.
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      924914ee
  4. 05 Aug, 2009 3 commits
  5. 03 Aug, 2009 4 commits
  6. 31 Jul, 2009 5 commits
  7. 30 Jul, 2009 1 commit
  8. 29 Jul, 2009 3 commits
  9. 28 Jul, 2009 3 commits
  10. 24 Jul, 2009 2 commits
  11. 23 Jul, 2009 6 commits
    • Marek Vasut's avatar
      ALSA: Allow passing platform_data to devices attached to AC97 bus · 474828a4
      Marek Vasut authored
      This patch allows passing platform_data to devices attached to AC97 bus
      (like touchscreens, battery measurement chips ...).
      Signed-off-by: default avatarMarek Vasut <marek.vasut@gmail.com>
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      474828a4
    • Joonyoung Shim's avatar
      ASoC: MAX9877: fix write operation for register · a7569afa
      Joonyoung Shim authored
      The MAX9877 needs an address of start register when we write values to
      registers through i2c_master_send(), but the code for this was missed in
      max9877_write_regs().
      
      If the value of control is 0 in the max9877_set_out_mode(), the value is
      not increased to 1, but actually the value to write to the register
      should be 1.
      And the register bits for out_mode and osc_mode should be cleared before
      writing.
      Signed-off-by: default avatarJoonyoung Shim <jy0922.shim@samsung.com>
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      a7569afa
    • Janusz Krzysztofik's avatar
      ASoC: Add support for Conexant CX20442-11 voice modem codec · 459dc352
      Janusz Krzysztofik authored
      This patch adds support for Conexant CX20442-11 voice modem codec, suitable
      for use by the ASoC board driver for Amstrad E3 (Delta) videophone. Related
      sound card driver will follow.
      
      This codec is an optional part of the Conexant SmartV three chip modem design.
      As such, documentation for its proprietary digital audio interface is not
      available. However, on Amstrad Delta board, thanks to Mark Underwood who
      created an initial, omap-alsa based sound driver a few years ago[1], the codec
      has been discovered to be accessible not only from the modem side, but also
      over the OMAP McBSP based CPU DAI. Thus, the driver can be used by any sound
      card that can access the codec DAI directly. The DAI configuration parameters
      (sample rate and format, number of channels) has been selected out empirically
      for best user experience.
      
      The codec analogue interface consists of two pairs of analogue I/O pins:
      speakerphone interface or telephone handset/headset interface. Furthermore, it
      seams to provide two operation modes for speakerphone I/O: standard and
      advanced, with automatic gain control and echo cancelation. Even if the codec
      control interface is unknown and not available, all those interfaces and modes
      can be selected over the modem chip using V.253 commands. The driver is able
      to issue necessary commands over a suitable hw_write function if provided by a
      sound card driver. Otherwise, the codec can be controlled over the modem from
      userspace while inactive.
      
      Even if nothig is known about the codec internal power management
      capabilities, DAPM widgets has been used to model the codec audio map.
      Automatically performed powering up/down of those virtual widgets results in
      corresponding V.253 commands being issued.
      
      Some driver features/oddities may be board specific, but I have no way to
      verify that with any board other than Amstrad Delta.
      
      [1] http://www.earth.li/pipermail/e3-hacking/2006-April/000481.html
      
      Created and tested against linux-2.6.31-rc3.
      Applies and works with linux-omap-2.6 commit
      7c5cb7862d32cb344be7831d466535d5255e35ac as well.
      Signed-off-by: default avatarJanusz Krzysztofik <jkrzyszt@tis.icnet.pl>
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      459dc352
    • Mark Brown's avatar
      Merge branch 'for-2.6.31' into for-2.6.32 · c30853df
      Mark Brown authored
      c30853df
    • Lopez Cruz, Misael's avatar
    • Chaithrika U S's avatar
      ASoC: tlv320aic3x: Enable PLL when not bypassed · 06c71282
      Chaithrika U S authored
      PLL was not being enabled when it was not bypassed. This patch
      enables the PLL when it is used. Additionally, it disables the PLL
      when it is bypassed.
      
      Without this patch, the audio on TI DM646x EVM and DM355 EVM
      does not work properly. The bit clocks and the frame sync signals
      from the codec are not correct and hence the playback/record are faster
      than usual for most sample rates. The reason for this was that the PLL
      was not enabled when it was not bypassed.
      
      Tested on DM6467 EVM, playback tested on DM355 EVM.
      Signed-off-by: default avatarChaithrika U S <chaithrika@ti.com>
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      06c71282
  12. 22 Jul, 2009 1 commit
  13. 21 Jul, 2009 1 commit
  14. 18 Jul, 2009 1 commit