1. 03 Nov, 2010 1 commit
  2. 02 Nov, 2010 2 commits
    • Mandar Joshi's avatar
      ALSA: usb-audio - Support for Power/Status LED on Creative USB X-Fi S51 · ca8dc34e
      Mandar Joshi authored
      This patch adds support for Power/Status LED on Creative USB X-Fi S51.
      There is just one LED on the device. The LED can either be On or it
      can be set to Blink. There doesn't seem to be a way to switch it off.
      The control message to change LED status is similar to that of
      audigy2nx except that the index is to be set to 0 and value is 1 for
      Blink and 0 for On.
      
      The 'Power LED' control in alsamixer when muted will cause the LED to
      Blink continuously. When unmuted  the LED will stay On. The Creative
      driver under Windows sets the LED to blink whenever audio is muted.
      This LED can be treated as the CMSS LED but I figured since there is
      just one LED, it should be treated as the Power LED. Is that alright?
      
      I've also changed the comment "Usb X-Fi" to "Usb X-Fi S51" as there
      are other external X-Fi devices from Creative like Usb X-Fi Go and
      Xmod. The volume knob and LED support patch doesn't apply to them.
      Signed-off-by: default avatarMandar Joshi <emailmandar@gmail.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      ca8dc34e
    • Jesper Juhl's avatar
      ALSA: asihpi - Unsafe memory management when allocating control cache · fd0977d0
      Jesper Juhl authored
      I noticed that sound/pci/asihpi/hpicmn.c::hpi_alloc_control_cache() does
      not check the return value from kmalloc(), which may fail.
      If kmalloc() fails we'll dereference a null pointer and things will go bad
      fast.
      There are two memory allocations in that function and there's also the
      problem that the first may succeed and the second may fail and nothing is
      done about that either which will also go wrong down the line.
      Signed-off-by: default avatarJesper Juhl <jj@chaosbits.net>
      Acked-by: default avatarEliot Blennerhassett <linux@audioscience.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      fd0977d0
  3. 01 Nov, 2010 3 commits
  4. 27 Oct, 2010 4 commits
  5. 26 Oct, 2010 2 commits
  6. 25 Oct, 2010 5 commits
  7. 24 Oct, 2010 1 commit
  8. 23 Oct, 2010 8 commits
  9. 22 Oct, 2010 3 commits
  10. 21 Oct, 2010 8 commits
  11. 20 Oct, 2010 3 commits