1. 15 10月, 2009 3 次提交
    • P
      ASoC: Codec driver for Texas Instruments tlv320dac33 codec · c8bf93f0
      Peter Ujfalusi 提交于
      Driver for Texas Instruments TLV320DAC33 (SLAS546) low power stereo
      audio DAC.
      
      TLV320DAC33 is a stereo audio codec with integrated 24KB FIFO for low
      power audio playback.
      
      The digital interface can use I2S, DSP (A or B), Right and Left
      justified formats.
      DAC33 has stereo analog input, which can be bypassed to the analog
      outputs.
      
      Regarding to the internal 24KB FIFO the driver implements 'FIFO bypass'
      mode (default) and nSample mode (FIFO is in use).
      a) In 'FIFO bypass' mode the internal FIFO is not in use, the codec is
      working synchronously as a normal codec (it needs constant stream of
      data on the digital interface).
      
      b) The nSample mode implementation uses one interrupt line from DAC33 to
      the host:
      Alarm threshold is set to 10ms of audio data (limit by the driver
      implementation).
      DAC33 will signal an interrupt, when the FIFO level goes under the
      Alarm threshold.
      The host will write to nSample register a value (number of stereo
      samples), to tell DAC33 how many samples it should read in a burst from
      the host. When the DAC33 received the number of samples, it disables the
      clocks on the I2S bus. When the FIFO use again goes under the Alarm
      threshold, DAC33 signals the host with an interrupt, and the process is
      repeated.
      Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@nokia.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      c8bf93f0
    • I
      ASoC: finally enable support for eXeda and CM-X300 · 640fb39e
      Igor Grinberg 提交于
      Signed-off-by: NIgor Grinberg <grinberg@compulab.co.il>
      Signed-off-by: NMike Rapoport <mike@compulab.co.il>
      CC: Mark Brown <broonie@opensource.wolfsonmicro.com>
      CC: alsa-devel@alsa-project.org
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      640fb39e
    • M
      ASoC: Remove snd_soc_suspend_device() · d2058b0c
      Mark Brown 提交于
      The PM core will grow pm_link infrastructure in 2.6.33 which can be
      used to implement the intended functionality of the ASoC-specific
      device suspend and resume callbacks so drop them.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      d2058b0c
  2. 13 10月, 2009 1 次提交
  3. 12 10月, 2009 1 次提交
  4. 10 10月, 2009 2 次提交
    • M
      ASoC: Minor fixups to tpa6130a2 driver · ebab1b1d
      Mark Brown 提交于
      - Staticise ttpa6130a2_client.
      - Remove unneeded cast from void.
      - Use explict NULL rather than 0.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      ebab1b1d
    • P
      ASoC: TPA6130A2 amplifier driver · 493b67ef
      Peter Ujfalusi 提交于
      Driver for Texas Instruments TPA6130A2 stereo headphone
      amplifier.
      
      The driver provides playback gain control and also pre-defined
      DAPM_HP widgets and DAPM routings for power management.
      
      The DAPM_HP widget names are:
      "TPA6130A2 Headphone Left"
      "TPA6130A2 Headphone Right"
      
      From soc machine drivers to use with the tpa6130a2 amplifier,
      the tpa6130a2_add_controls has to be called, which adds the alsa
      controls and the DAPM routing needed for the tpa6130a2.
      After that the machine driver can connect the codec's output
      with 'TPA6130A2 Left' and 'TPA6130A2 Right':
      
              {"TPA6130A2 Left", NULL, "CODEC LEFT OUT"},
              {"TPA6130A2 Right", NULL, "CODEC RIGHT OUT"},
      
      Internally the left and right channels are powered separately.
      When none of the channels are needed the amplifier is powered
      down:
      hard power: valid GPIO number is passed within platform data
      soft power: Using the software shutdown of the amplifier
      Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@nokia.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      493b67ef
  5. 09 10月, 2009 1 次提交
  6. 08 10月, 2009 1 次提交
  7. 07 10月, 2009 3 次提交
  8. 06 10月, 2009 5 次提交
  9. 05 10月, 2009 20 次提交
  10. 04 10月, 2009 3 次提交
    • L
      Merge branch 'for-linus' of git://www.linux-m32r.org/git/takata/linux-2.6_dev · 8a0382f6
      Linus Torvalds 提交于
      * 'for-linus' of git://www.linux-m32r.org/git/takata/linux-2.6_dev:
        m32r: Fix IPI function calls for SMP
        m32r: Fix set_memory() for DISCONTIGMEM
        m32r: add rtc_lock variable
        m32r: define ioread* and iowrite* macros
        m32r: export delay loop symbols
        m32r: fix tme_handler
      8a0382f6
    • L
      tty: Avoid dropping ldisc_mutex over hangup tty re-initialization · 0b5759c6
      Linus Torvalds 提交于
      A couple of people have hit the WARN_ON() in drivers/char/tty_io.c,
      tty_open() that is unhappy about seeing the tty line discipline go away
      during the tty hangup. See for example
      
      	http://bugzilla.kernel.org/show_bug.cgi?id=14255
      
      and the reason is that we do the tty_ldisc_halt() outside the
      ldisc_mutex in order to be able to flush the scheduled work without a
      deadlock with vhangup_work.
      
      However, it turns out that we can solve this particular case by
      
       - using "cancel_delayed_work_sync()" in tty_ldisc_halt(), which waits
         for just the particular work, rather than synchronizing with any
         random outstanding pending work.
      
         This won't deadlock, since the buf.work we synchronize with doesn't
         care about the ldisc_mutex, it just flushes the tty ldisc buffers.
      
       - realize that for this particular case, we don't need to wait for any
         hangup work, because we are inside the hangup codepaths ourselves.
      
      so as a result we can just drop the flush_scheduled_work() entirely, and
      then move the tty_ldisc_halt() call to inside the mutex.  That way we
      never expose the partially torn down ldisc state to tty_open(), and hold
      the ldisc_mutex over the whole sequence.
      Reported-by: NIngo Molnar <mingo@elte.hu>
      Reported-by: NHeinz Diehl <htd@fancy-poultry.org>
      Cc: stable@kernel.org
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      0b5759c6
    • T
      m32r: Fix IPI function calls for SMP · 0a3d31b7
      Toshihiro HANAWA 提交于
      This patch fixes the m32r SMP kernel after 2.6.27.
      
      A part of the following patch breaks m32r SMP operation.
      > m32r: convert to generic helpers for IPI function calls
      > commit 7b7426c8
      
      In the above patch, a CALL_FUNC_SINGLE_IPI was newly introduced,
      but the its IPI vector number was wrong in the patch code.
      
      The m32r SMP kernel hanged-up during boot operation, because
      the CPU_BOOT_IPI was called instead of CALL_FUNC_SINGLE_IPI
      (CPU_BOOT_IPI had no side effect at that time because the 2nd
      core had already been started up),
      as a result, csd_unlock() was not called, then a dead lock
      occurred in csd_lock_wait() after the detection of Compact Flash
      memory as IDE generic disk.
      Signed-off-by: NToshihiro HANAWA <hanawa@ccs.tsukuba.ac.jp>
      Signed-off-by: NHirokazu Takata <takata@linux-m32r.org>
      0a3d31b7