1. 12 11月, 2014 1 次提交
  2. 26 2月, 2014 1 次提交
    • T
      ALSA: usb-audio: Use standard printk helpers · 0ba41d91
      Takashi Iwai 提交于
      Convert with dev_err() and co from snd_printk(), etc.
      As there are too deep indirections (e.g. ep->chip->dev->dev),
      a few new local macros, usb_audio_err() & co, are introduced.
      
      Also, the device numbers in some messages are dropped, as they are
      shown in the prefix automatically.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      0ba41d91
  3. 06 12月, 2013 1 次提交
  4. 14 11月, 2013 1 次提交
  5. 28 6月, 2013 1 次提交
  6. 07 4月, 2013 1 次提交
    • E
      ALSA: usb-audio: fix endianness bug in snd_nativeinstruments_* · 889d6684
      Eldad Zack 提交于
      The usb_control_msg() function expects __u16 types and performs
      the endianness conversions by itself.
      However, in three places, a conversion is performed before it is
      handed over to usb_control_msg(), which leads to a double conversion
      (= no conversion):
      * snd_usb_nativeinstruments_boot_quirk()
      * snd_nativeinstruments_control_get()
      * snd_nativeinstruments_control_put()
      
      Caught by sparse:
      
      sound/usb/mixer_quirks.c:512:38: warning: incorrect type in argument 6 (different base types)
      sound/usb/mixer_quirks.c:512:38:    expected unsigned short [unsigned] [usertype] index
      sound/usb/mixer_quirks.c:512:38:    got restricted __le16 [usertype] <noident>
      sound/usb/mixer_quirks.c:543:35: warning: incorrect type in argument 5 (different base types)
      sound/usb/mixer_quirks.c:543:35:    expected unsigned short [unsigned] [usertype] value
      sound/usb/mixer_quirks.c:543:35:    got restricted __le16 [usertype] <noident>
      sound/usb/mixer_quirks.c:543:56: warning: incorrect type in argument 6 (different base types)
      sound/usb/mixer_quirks.c:543:56:    expected unsigned short [unsigned] [usertype] index
      sound/usb/mixer_quirks.c:543:56:    got restricted __le16 [usertype] <noident>
      sound/usb/quirks.c:502:35: warning: incorrect type in argument 5 (different base types)
      sound/usb/quirks.c:502:35:    expected unsigned short [unsigned] [usertype] value
      sound/usb/quirks.c:502:35:    got restricted __le16 [usertype] <noident>
      Signed-off-by: NEldad Zack <eldad@fogrefinery.com>
      Acked-by: NDaniel Mack <zonque@gmail.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      889d6684
  7. 11 2月, 2013 1 次提交
  8. 10 1月, 2013 1 次提交
  9. 12 12月, 2012 1 次提交
  10. 29 11月, 2012 3 次提交
  11. 30 10月, 2012 1 次提交
  12. 11 6月, 2012 2 次提交
  13. 12 5月, 2012 1 次提交
  14. 24 4月, 2012 5 次提交
  15. 15 4月, 2012 1 次提交
  16. 27 9月, 2011 1 次提交
  17. 25 5月, 2011 1 次提交
  18. 18 5月, 2011 2 次提交
  19. 14 4月, 2011 1 次提交
  20. 15 2月, 2011 2 次提交
  21. 02 11月, 2010 1 次提交
    • M
      ALSA: usb-audio - Support for Power/Status LED on Creative USB X-Fi S51 · ca8dc34e
      Mandar Joshi 提交于
      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: NMandar Joshi <emailmandar@gmail.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      ca8dc34e
  22. 24 10月, 2010 1 次提交
  23. 29 3月, 2010 1 次提交
  24. 12 3月, 2010 2 次提交