1. 06 Jun, 2013 3 commits
    • Takashi Iwai's avatar
      ALSA: hda - Don't take unresponsive D3 transition too serious · 63e51fd7
      Takashi Iwai authored
      When a codec is powered off, some systems don't respond properly after
      D3 FG transition, while the driver still expects the response and
      tries to fall back to different modes (polling and single-cmd).  When
      the fallback happens, the driver stays in that mode, and falling back
      to the single-cmd mode means it'll loose the unsol event handling,
      too.
      
      The unresponsiveness at D3 isn't too serious, thus this fallback is
      mostly superfluous.  We can gracefully ignore the error there so that
      the driver keeps the normal operation mode.
      
      This patch adds a new bit flag for codec read/write, set in the power
      transition stage, which is notified to the controller driver via a new
      bus->no_response_fallback flag.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      63e51fd7
    • Takashi Iwai's avatar
      ALSA: hda - Introduce bit flags to snd_hda_codec_read/write() · e7ecc27e
      Takashi Iwai authored
      snd_hda_codec_read(), snd_hda_codec_write() & co take the argument
      "direct" that indicates whether the given NID is a direct reference or
      an indirect reference.  However, the indirect reference is practically
      unimplemented and never exists.  And moreover, we don't need the
      indication of indirect reference at this high level, as NID can be
      represented in 16bit values at this point.
      
      Meanwhile, there are some cases where it'd be nice to give some
      operational options to these functions.  So, we can reuse this
      argument as a new bit flag!  Pretty frugal, eh?
      
      All callers so far pass zero to this argument, thus there is no
      behavior change by this replacement.
      
      The real usage of this new bit option will be added in the following
      patches.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      e7ecc27e
    • Takashi Iwai's avatar
      ALSA: hda - Drop hard dependency on CONFIG_SND_DYNAMIC_MINORS · 36bb00d4
      Takashi Iwai authored
      Currently HDMI codec driver sets the hard dependency (reverse
      selection) on CONFIG_SND_DYNAMIC_MINORS because the recent codecs may
      support more than two PCMs.  But, this doesn't mean that we need
      always this option, since there can be a single PCM stream even with
      the modern codecs.
      
      This patch drops the hard dependency again but give more sensible
      error message when no enough PCMs are available due to the lack of
      this option.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      36bb00d4
  2. 05 Jun, 2013 4 commits
    • Takashi Iwai's avatar
      ALSA: hda/via - Use standard snd_hda_shutup_pins() · 2c38d990
      Takashi Iwai authored
      Just a minor clean up.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      2c38d990
    • Takashi Iwai's avatar
      Merge branch 'for-linus' into for-next · c9e34d15
      Takashi Iwai authored
      * for-linus: (778 commits)
        ALSA: usb-audio - Fix invalid volume resolution on Logitech HD webcam c270
        ALSA: usb-audio - Apply Logitech QuickCam Pro 9000 quirk only to audio iface
        ALSA: hda/via - Clean up duplicated codes
        ALSA: hda/via - Fix wrongly cleared pins after suspend on VT1802
        ALSA: hda - Add keep_eapd_on flag to generic parser
        ALSA: hda - Allow setting automute/automic hooks after parsing
        ALSA: hda/via - Disable broken dynamic power control
        ALSA: usb-audio: fix Roland/Cakewalk UM-3G support
        ALSA: hda - Add headset quirk for two Dell machines
        ALSA: hda - add dock support for Thinkpad T431s
        ALSA: sis7019: fix error return code in sis_chip_create()
        ASoC: cs42l52: fix default value for MASTERA_VOL.
        ASoC: wm8994: check for array index returned
        ASoC: wm8994: Fix reporting of accessory removal on WM8958
        ASoC: wm8994: use the correct pointer to get the control value
        Linux 3.10-rc3
        ipc/sem.c: Fix missing wakeups in do_smart_update_queue()
        score: remove redundant kcore_list entries
        ASoC: wm5110: Correct DSP4R Mixer control name
        ARC: lazy dcache flush broke gdb in non-aliasing configs
        ...
      c9e34d15
    • Anisse Astier's avatar
      ALSA: hda - add mic fixup for ALC269VB on Ordissimo EVE2 · 02b504d9
      Anisse Astier authored
      This fixes the internal and external mic on Ordissimo EVE2,  also known
      as Malata PC-B1303.
      
      We still don't know how to detect mic jack like Realtek's windows
      driver.
      Signed-off-by: default avatarAnisse Astier <anisse@astier.eu>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      02b504d9
    • Takashi Iwai's avatar
      ALSA: usb-audio - Fix invalid volume resolution on Logitech HD webcam c270 · 11e7064f
      Takashi Iwai authored
      USB audio driver spews an error message when probing Logitech HD
      webcam c270:
        ALSA mixer.c:1300 usb_audio: Warning! Unlikely big volume range (=6144), cval->res is probably wrong.
        ALSA mixer.c:1304 usb_audio: [5] FU [Mic Capture Volume] ch = 1, val = 1536/7680/1
      
      Obviously the device needs a fixed volume resolution (cval->res = 384)
      like other Logitech devices.
      
      Bugzilla: https://bugzilla.novell.com/show_bug.cgi?id=821735Reported-and-tested-by: default avatarCristian Rodríguez <crrodriguez@opensuse.org>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      11e7064f
  3. 04 Jun, 2013 1 commit
  4. 03 Jun, 2013 6 commits
  5. 31 May, 2013 7 commits
  6. 29 May, 2013 5 commits
  7. 28 May, 2013 11 commits
  8. 26 May, 2013 3 commits
    • Linus Torvalds's avatar
      Linux 3.10-rc3 · e4aa937e
      Linus Torvalds authored
      e4aa937e
    • Manfred Spraul's avatar
      ipc/sem.c: Fix missing wakeups in do_smart_update_queue() · ab465df9
      Manfred Spraul authored
      do_smart_update_queue() is called when an operation (semop,
      semctl(SETVAL), semctl(SETALL), ...) modified the array.  It must check
      which of the sleeping tasks can proceed.
      
      do_smart_update_queue() missed a few wakeups:
       - if a sleeping complex op was completed, then all per-semaphore queues
         must be scanned - not only those that were modified by *sops
       - if a sleeping simple op proceeded, then the global queue must be
         scanned again
      
      And:
       - the test for "|sops == NULL) before scanning the global queue is not
         required: If the global queue is empty, then it doesn't need to be
         scanned - regardless of the reason for calling do_smart_update_queue()
      
      The patch is not optimized, i.e.  even completing a wait-for-zero
      operation causes a rescan.  This is done to keep the patch as simple as
      possible.
      Signed-off-by: default avatarManfred Spraul <manfred@colorfullife.com>
      Acked-by: default avatarDavidlohr Bueso <davidlohr.bueso@hp.com>
      Cc: Rik van Riel <riel@redhat.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      ab465df9
    • Linus Torvalds's avatar
      Merge tag 'nfs-for-3.10-3' of git://git.linux-nfs.org/projects/trondmy/linux-nfs · 89ff7783
      Linus Torvalds authored
      Pull NFS client bugfixes from Trond Myklebust:
      
       - Stable fix to prevent an rpc_task wakeup race
       - Fix a NFSv4.1 session drain deadlock
       - Fix a NFSv4/v4.1 mount regression when not running rpc.gssd
       - Ensure auth_gss pipe detection works in namespaces
       - Fix SETCLIENTID fallback if rpcsec_gss is not available
      
      * tag 'nfs-for-3.10-3' of git://git.linux-nfs.org/projects/trondmy/linux-nfs:
        NFS: Fix SETCLIENTID fallback if GSS is not available
        SUNRPC: Prevent an rpc_task wakeup race
        NFSv4.1 Fix a pNFS session draining deadlock
        SUNRPC: Convert auth_gss pipe detection to work in namespaces
        SUNRPC: Faster detection if gssd is actually running
        SUNRPC: Fix a bug in gss_create_upcall
      89ff7783