1. 27 5月, 2015 1 次提交
  2. 26 5月, 2015 1 次提交
  3. 24 5月, 2015 2 次提交
  4. 20 5月, 2015 3 次提交
  5. 19 5月, 2015 2 次提交
  6. 18 5月, 2015 3 次提交
  7. 13 5月, 2015 3 次提交
  8. 11 5月, 2015 1 次提交
  9. 07 5月, 2015 2 次提交
  10. 05 5月, 2015 1 次提交
  11. 04 5月, 2015 2 次提交
  12. 02 5月, 2015 1 次提交
  13. 01 5月, 2015 2 次提交
  14. 29 4月, 2015 2 次提交
  15. 28 4月, 2015 2 次提交
    • T
      ALSA: emux: Fix mutex deadlock in OSS emulation · 1c94e65c
      Takashi Iwai 提交于
      The OSS emulation in synth-emux helper has a potential AB/BA deadlock
      at the simultaneous closing and opening:
      
        close ->
          snd_seq_release() ->
            sne_seq_free_client() ->
              snd_seq_delete_all_ports(): takes client->ports_mutex ->
      	  port_delete() ->
      	    snd_emux_unuse(): takes emux->register_mutex
      
        open ->
          snd_seq_oss_open() ->
            snd_emux_open_seq_oss(): takes emux->register_mutex ->
              snd_seq_event_port_attach() ->
      	  snd_seq_create_port(): takes client->ports_mutex
      
      This patch addresses the deadlock by reducing the rance taking
      emux->register_mutex in snd_emux_open_seq_oss().  The lock is needed
      for the refcount handling, so move it locally.  The calls in
      emux_seq.c are already with the mutex, thus they are replaced with the
      version without mutex lock/unlock.
      
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      1c94e65c
    • A
      ASoC: rt5645: Fix mask for setting RT5645_DMIC_2_DP_GPIO12 bit · 53f9b3ba
      Axel Lin 提交于
      Current code uses wrong mask when setting RT5645_DMIC_2_DP_GPIO12 bit,
      fix it.
      Signed-off-by: NAxel Lin <axel.lin@ingics.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      53f9b3ba
  16. 27 4月, 2015 6 次提交
    • T
      ALSA: hda - Fix missing va_end() call in snd_hda_codec_pcm_new() · 30e5f003
      Takashi Iwai 提交于
      Reported by coverity CID 1296024.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      30e5f003
    • T
      ALSA: emux: Fix mutex deadlock at unloading · 07b0e5d4
      Takashi Iwai 提交于
      The emux-synth driver has a possible AB/BA mutex deadlock at unloading
      the emu10k1 driver:
      
        snd_emux_free() ->
          snd_emux_detach_seq(): mutex_lock(&emu->register_mutex) ->
            snd_seq_delete_kernel_client() ->
              snd_seq_free_client(): mutex_lock(&register_mutex)
      
        snd_seq_release() ->
          snd_seq_free_client(): mutex_lock(&register_mutex) ->
            snd_seq_delete_all_ports() ->
              snd_emux_unuse(): mutex_lock(&emu->register_mutex)
      
      Basically snd_emux_detach_seq() doesn't need a protection of
      emu->register_mutex as it's already being unregistered.  So, we can
      get rid of this for avoiding the deadlock.
      
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      07b0e5d4
    • T
      ALSA: emu10k1: Fix card shortname string buffer overflow · d0226082
      Takashi Iwai 提交于
      Some models provide too long string for the shortname that has 32bytes
      including the terminator, and it results in a non-terminated string
      exposed to the user-space.  This isn't too critical, though, as the
      string is stopped at the succeeding longname string.
      
      This patch fixes such entries by dropping "SB" prefix (it's enough to
      fit within 32 bytes, so far).  Meanwhile, it also changes strcpy()
      with strlcpy() to make sure that this kind of problem won't happen in
      future, too.
      
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      d0226082
    • T
      ALSA: hda - Add mute-LED mode control to Thinkpad · 7290006d
      Takashi Iwai 提交于
      This patch adds the missing flag to enable "Mute-LED Mode" mixer enum
      ctl for Thinkpads that have also the software mute-LED control.
      Reported-and-tested-by: NPali Rohár <pali.rohar@gmail.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      7290006d
    • T
      ALSA: hda - Fix mute-LED fixed mode · ee52e56e
      Takashi Iwai 提交于
      The mute-LED mode control has the fixed on/off states that are
      supposed to remain on/off regardless of the master switch.  However,
      this doesn't work actually because the vmaster hook is called in the
      vmaster code itself.
      
      This patch fixes it by calling the hook indirectly after checking the
      mute LED mode.
      Reported-and-tested-by: NPali Rohár <pali.rohar@gmail.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      ee52e56e
    • T
      ALSA: hda - Fix click noise at start on Dell XPS13 · 3e1b0c4a
      Takashi Iwai 提交于
      Dell XPS13 produces a click noise at boot up, and Gabriele spotted out
      that it's triggered by the initial pin control of the mic (NID 0x19).
      This has to be set to Hi-Z Vref while the driver initializes to Vref
      80% as a normal mic.
      
      This patch fixes the generic parser code not to override the target
      vref if it has been already set by the driver, and adds a proper
      initialization of the target vref for this pin in the Realtek driver
      side.
      Reported-and-tested-by: NGabriele Mazzotta <gabriele.mzt@gmail.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      3e1b0c4a
  17. 24 4月, 2015 3 次提交
  18. 23 4月, 2015 2 次提交
  19. 21 4月, 2015 1 次提交