1. 21 10月, 2014 13 次提交
  2. 15 10月, 2014 1 次提交
  3. 14 10月, 2014 1 次提交
    • T
      ALSA: emu10k1: Fix deadlock in synth voice lookup · 95926035
      Takashi Iwai 提交于
      The emu10k1 voice allocator takes voice_lock spinlock.  When there is
      no empty stream available, it tries to release a voice used by synth,
      and calls get_synth_voice.  The callback function,
      snd_emu10k1_synth_get_voice(), however, also takes the voice_lock,
      thus it deadlocks.
      
      The fix is simply removing the voice_lock holds in
      snd_emu10k1_synth_get_voice(), as this is always called in the
      spinlock context.
      Reported-and-tested-by: NArthur Marsh <arthur.marsh@internode.on.net>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      95926035
  4. 08 10月, 2014 1 次提交
  5. 07 10月, 2014 4 次提交
  6. 30 9月, 2014 6 次提交
  7. 23 9月, 2014 4 次提交
  8. 22 9月, 2014 2 次提交
  9. 19 9月, 2014 1 次提交
  10. 17 9月, 2014 1 次提交
    • R
      ALSA: hda - Replace strnicmp with strncasecmp · 8bb1ffdf
      Rasmus Villemoes 提交于
      The kernel used to contain two functions for length-delimited,
      case-insensitive string comparison, strnicmp with correct semantics
      and a slightly buggy strncasecmp. The latter is the POSIX name, so
      strnicmp was renamed to strncasecmp, and strnicmp made into a wrapper
      for the new strncasecmp to avoid breaking existing users.
      
      To allow the compat wrapper strnicmp to be removed at some point in
      the future, and to avoid the extra indirection cost, do
      s/strnicmp/strncasecmp/g.
      Signed-off-by: NRasmus Villemoes <linux@rasmusvillemoes.dk>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      8bb1ffdf
  11. 16 9月, 2014 4 次提交
    • T
      ALSA: hda - Use standard hda_jack infrastructure for CA0132 driver · f8fb1170
      Takashi Iwai 提交于
      For its headphone, mic and DSP responses, we can use the standard
      hda_jack infrastructure in CA0132 driver, too.  The only point to
      handle carefully is the delayed headphone jack handling.  It tries to
      react after a certain delay.  Here we use the existing block_report
      flag in hda_jack_tbl (that was implemented for HDMI).
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      f8fb1170
    • T
      ALSA: hda - Remove superfluous hooks from VIA driver · 7c3008c4
      Takashi Iwai 提交于
      Like the previous fix for STAC/IDT codecs, the automute hooks in VIA
      driver can be also removed by enabling the power control callback for
      all pins.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      7c3008c4
    • T
      ALSA: hda - Remove superfluous callbacks from STAC/IDT codecs · aa699c49
      Takashi Iwai 提交于
      Now we can register multiple callbacks to each jack, most of hooks
      used in STAC/IDT codecs can be removed by enabling the powermap update
      callback for all relevant pins.  Along with this, the call of
      stac_init_power_map() can be moved back to stac_parse_auto_config()
      and the own build_controls callback can be removed, too.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      aa699c49
    • T
      ALSA: hda - Allow multiple callbacks for jack · 1a4f69d5
      Takashi Iwai 提交于
      So far, hda_jack infrastructure allows only one callback per jack, and
      this makes things slightly complicated when a driver wants to assign
      multiple tasks to a jack, e.g. the standard auto-mute with a power
      up/down sequence.  This can be simplified if the hda_jack accepts
      multiple callbacks.
      
      This patch is such an extension: the callback-specific part (the
      function and private_data) is split to another struct from
      hda_jack_tbl, and multiple such objects can be assigned to a single
      hda_jack_tbl entry.
      
      The new struct hda_jack_callback is passed to each callback function
      now, thus the patch became bigger than expected.  But these changes
      are mostly trivial.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      1a4f69d5
  12. 15 9月, 2014 2 次提交
    • T
      ALSA: lx6464es: Use nonatomic PCM ops · 6336c20c
      Takashi Iwai 提交于
      Like the other previous changes, this patch for lx6464es takes the
      same strategy for converting to nonatomic PCM ops: replacing spinlock
      with mutex, converting the irq tasklet to the threaded irq, and
      merging the trigger tasklets back to the trigger callback.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      6336c20c
    • T
      ALSA: pcxhr: Use nonatomic PCM ops · 9bef72bd
      Takashi Iwai 提交于
      This time PCXHR, another Digigram boards: like the previous patches,
      the conversion is straightforward, replacing spinlocks with mutexes,
      merging the irq tasklet into the threaded irq handler and the PCM
      trigger tasklet back to the trigger callback.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      9bef72bd