1. 15 2月, 2010 2 次提交
    • G
      ALSA: Echoaudio - Add suspend support #1 · ad3499f4
      Giuliano Pochini 提交于
      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: NGiuliano Pochini <pochini@shiny.it>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      ad3499f4
    • G
      ALSA: Echoaudio - Add firmware cache #1 · 19b50063
      Giuliano Pochini 提交于
      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: NGiuliano Pochini <pochini@shiny.it>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      19b50063
  2. 13 8月, 2008 1 次提交
  3. 29 6月, 2006 1 次提交