1. 23 Feb, 2010 1 commit
  2. 22 Feb, 2010 1 commit
  3. 18 Feb, 2010 2 commits
  4. 17 Feb, 2010 3 commits
  5. 16 Feb, 2010 8 commits
  6. 15 Feb, 2010 4 commits
    • Giuliano Pochini's avatar
      ALSA: Echoaudio - Add suspend support #2 · 47b5d028
      Giuliano Pochini authored
      This patch adds rearranges parts of the initialization code and adds
      suspend and resume callbacks.
      
      This patch adds suspend and resume callbacks.
      It also rearranges parts of the initialization code so it can be
      used in both the first initialization (when the module is loaded we
      also have to load default settings) and the resume callback (where
      we have to restore the previous settings).
      Signed-off-by: default avatarGiuliano Pochini <pochini@shiny.it>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      47b5d028
    • Giuliano Pochini's avatar
      ALSA: Echoaudio - Add suspend support #1 · ad3499f4
      Giuliano Pochini authored
      Move the controls init code outside the init_hw() function because is must
      not be called during resume.
      
      This patch moves the code that initializes the card's controls with
      default valued from the init_hw() function into a separated
      set_mixer_defaults() function (one for each of the 16 supported
      cards). This change is necessary because during resume we must
      resurrect the hardware without losing the previous
      settings. set_mixer_defaults() must be called only once when the
      module is loaded.
      Signed-off-by: default avatarGiuliano Pochini <pochini@shiny.it>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      ad3499f4
    • Giuliano Pochini's avatar
      ALSA: Echoaudio - Add firmware cache #2 · 4f8ada44
      Giuliano Pochini authored
      This patch implements a simple cache for the firmware files when CONFIG_PM is defined.
      
      This patch changes get_firmware(), free_firmware() and adds
      free_firmware_cache(). The first two functions implement a very
      simple cache and the latter is used to actually release all the stored
      firmwares when the module is unloaded. 
      When CONFIG_PM is not enabled those functions act as before, that is
      free_firmware() releases the firmware immediately and
      free_firmware_cache() does nothing.
      Signed-off-by: default avatarGiuliano Pochini <pochini@shiny.it>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      4f8ada44
    • Giuliano Pochini's avatar
      ALSA: Echoaudio - Add firmware cache #1 · 19b50063
      Giuliano Pochini authored
      Changes the way the firmware is passed through functions.
      
      When CONFIG_PM is enabled the firmware cannot be released because the
      driver will need it again to resume the card. 
      With this patch the firmware is passed as an index of the struct
      firmware card_fw[] in place of a pointer. That same index is then used
      to locate the firmware in the firmware cache.
      Signed-off-by: default avatarGiuliano Pochini <pochini@shiny.it>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      19b50063
  7. 12 Feb, 2010 13 commits
  8. 11 Feb, 2010 8 commits