1. 23 11月, 2012 6 次提交
    • T
      ALSA: hdsp: improve firmware caching · 90caaef6
      Takashi Iwai 提交于
      As the recent firmware code tries to reread and cache the firmware by
      itself, it's even better to keep the struct firmware data instead of
      keeping a local copy.  Also, it makes little sense to disable the fw
      loader for this driver, so added the explicit dependency, too.
      
      Last, but not least, allocate the firmware data loaded via ioctl in
      vmalloc'ed buffer instead, as the firmware size isn't that small.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      90caaef6
    • T
      ALSA: ymfpci: Use kmalloc for register buffer for PM · 7009fa56
      Takashi Iwai 提交于
      Th buffer to save registers for PM is enough small for kmalloc(), not
      necessary to use vmalloc().
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      7009fa56
    • T
      ALSA: hda - Don't release firmware when CONFIG_PM is set · e39ae856
      Takashi Iwai 提交于
      The new firmware code tries to re-read the formerly read firmware
      files before suspend.  Thus it's wiser to keep the "patch" firmware in
      the driver for avoiding this unnecessary re-reading.
      
      Of course, this will consume a bit of memory for unused stuff, but
      the patch fw is supposed to be fairly small, so it's more benefit in
      the end.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      e39ae856
    • T
      ALSA: pcxhr: hard dependency on the standard fw loader · d1914498
      Takashi Iwai 提交于
      Like the previous commit for mixart, drop the home-baked fw loader
      code.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      d1914498
    • T
      ALSA: mixart: hard dependency on the standard fw loader · cba46f11
      Takashi Iwai 提交于
      It makes no longer sense to keep the old hwdep user-space firmware
      loading, which has been deprecated since ages ago.
      
      Just add a hard dependency on CONFIG_FW_LOADER and drop the useless
      code.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      cba46f11
    • T
      ALSA: hda - Don't overwrite the pin default configs · 3fdf1469
      Takashi Iwai 提交于
      Since we keep the pin default config values anyway internally, we
      don't have to set the values in the codec.  This patch removes the
      code writing the pincfg values.
      
      As a gratis bonus, we can remove also the code restoring the original
      pincfg values at PM resume or module free.  This will give us more
      benefit, as it can reduce the unnecessary power-up of codecs.
      
      This won't change the driver functionality.  The only difference would
      be that the codec proc file will show the original pincfg values
      instead of the actually referred values.  The actually referred values
      can be determined from sysfs *_pin_configs files.
      (Also hda-emu was updated to follow this change.)
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      3fdf1469
  2. 21 11月, 2012 2 次提交
  3. 20 11月, 2012 3 次提交
    • T
      ALSA: hda - Limit runtime PM support only to known Intel chips · 2ea3c6a2
      Takashi Iwai 提交于
      We've got a report that the runtime PM may make the codec the
      unresponsive on AMD platforms.  Since the feature has been tested only
      on the recent Intel platforms, it's safer to limit the support to such
      devices for now.
      
      This patch adds a new DCAPS bit flag indicating the runtime PM
      support, and mark it for Intel controllers.
      Reported-and-tested-by: NJulian Wollrath <jwollrath@web.de>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      2ea3c6a2
    • D
      ALSA: hda - Fix Acer Aspire models with analog mics. · 08a978db
      Dylan Reid 提交于
      The Acer Aspire AO756 has an analog built-in mic on nid 0x1b and an
      external mic on nid 0x19.  The BIOS doesn't set this up.
      
      The mic detect on this Acer Aspire netbook and Acer C7 ChromeBook is
      only valid when the headphone is plugged.  The detect circuit relies on
      the tip detect switch being closed on the jack.  Tell hda_jack to ignore
      the mic sense unless the headphones are plugged.
      Signed-off-by: NDylan Reid <dgreid@chromium.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      08a978db
    • D
      ALSA: hda - Allow jack state to depend on another jack · 0619ba8c
      Dylan Reid 提交于
      Introduce the concept of a "gated" jack.  The gated jack's pin sense
      is
      only valid when the "gating" jack is plugged.  This requires checking
      the gating jack when the gated jack changes and re-checking the gated
      jack when the gating jack is plugged/unplugged.
      
      This allows handling of devices where the mic jack detect floats when
      the headphone jack is unplugged.
      
      [Rewritten for fixing the possible snd_array reallocation, covering
       the missing callback calls and jack sync operations, as well as some
       code cleanups -- tiwai]
      Signed-off-by: NDylan Reid <dgreid@chromium.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      0619ba8c
  4. 19 11月, 2012 1 次提交
  5. 14 11月, 2012 1 次提交
  6. 13 11月, 2012 1 次提交
  7. 12 11月, 2012 3 次提交
  8. 09 11月, 2012 3 次提交
  9. 08 11月, 2012 3 次提交
  10. 07 11月, 2012 4 次提交
  11. 05 11月, 2012 6 次提交
  12. 04 11月, 2012 3 次提交
  13. 31 10月, 2012 1 次提交
  14. 30 10月, 2012 1 次提交
  15. 28 10月, 2012 1 次提交
  16. 26 10月, 2012 1 次提交