1. 21 Nov, 2014 7 commits
    • Takashi Iwai's avatar
      ALSA: usb-audio: Add resume support for FTU controls · 0b4e9cfc
      Takashi Iwai authored
      A few FTU mixer controls have the own value handling, so they have to
      be rewritten to follow the support for resume callbacks.  This ended
      up in a fair amount of refactoring.  Its own struct is now removed,
      instead the values are embedded in kctl private_value totally.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      0b4e9cfc
    • Takashi Iwai's avatar
      ALSA: usb-audio: Add resume support for Native Instruments controls · da6d2769
      Takashi Iwai authored
      The changes at this time are a bit more wider than previous ones.
      Firstly, the NI controls didn't cache the values, so I had to
      implement the caching.  It's stored in bit 24 of private_value.
      In addition to that, the initial values have to be read from
      registers.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      da6d2769
    • Takashi Iwai's avatar
      ALSA: usb-audio: Add Digidesign Mbox 1 resume support · 25a9a4f9
      Takashi Iwai authored
      Again another quirk fix, just convert to usb_mixer_elem_list with the
      resume callback for Mbox 1 stuff.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      25a9a4f9
    • Takashi Iwai's avatar
      ALSA: usb-audio: Add Xonar U1 resume support · 2bfb14c3
      Takashi Iwai authored
      This time it's about Xonar U1: add the proper resume support for
      "Digital Playback Switch" element.
      
      Also, the status is moved into kcontrol private_value from
      usb_mixer_interface struct field.  One more cut.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      2bfb14c3
    • Takashi Iwai's avatar
      ALSA: usb-audio: Add Emu0204 channel switch resume support · 5f503ee9
      Takashi Iwai authored
      Similar as the previous fix, this adds the proper resume support to
      Emu0202 "Front Jack Channels" enum mixer element.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      5f503ee9
    • Takashi Iwai's avatar
      ALSA: usb-audio: Add audigy2nx resume support · 9cf3689b
      Takashi Iwai authored
      Rewrite the code to handle LEDs on audigy2nx and co for supporting the
      proper resume.  A new internal helper function
      add_single_ctl_with_resume() is introduced to manage the
      usb_mixer_elem_list more easily.
      
      Also while we're at it, move audigy2nx_leds[] in usb_mixer_interface
      struct into the private_value of each kctl, too.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      9cf3689b
    • Takashi Iwai's avatar
      ALSA: usb-audio: Allow quirks to handle own resume and proc dump · 3360b84b
      Takashi Iwai authored
      So far, we blindly assumed that the all usb-audio mixer elements
      follow the standard and apply the standard resume method for the
      registered elements in the id_elems[] list.  However, some quirks
      really need the own resume and it's incomplete for now.
      
      This patch enhances the resume handling in two folds:
      - split some fields in struct usb_mixer_elem_info into a smaller
        header struct (usb_mixer_elem_list) for keeping the minimal
        information in the linked-list; the usb_mixer_elem_info embeds this
        header struct instead
      - add resume and dump callbacks to usb_mixer_elem_list struct to allow
        quirks providing the own methods
      
      For the standard mixer elements, these new callbacks are set to the
      standard ones as default, thus there is no functional change by this
      patch yet.
      
      The dump and resume callbacks are typedef'ed for ease of later patches
      using arrays of such function pointers.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      3360b84b
  2. 20 Nov, 2014 4 commits
  3. 18 Nov, 2014 3 commits
  4. 17 Nov, 2014 14 commits
  5. 16 Nov, 2014 10 commits
  6. 15 Nov, 2014 2 commits