1. 14 8月, 2014 1 次提交
    • T
      ALSA: hda - Set TLV_DB_SCALE_MUTE bit for cx5051 vmaster · 61074c1a
      Takashi Iwai 提交于
      Conexnat HD-audio driver has a workaround for cx5051 (aka CX20561)
      chip to add fake mute controls to each amp (commit 3868137e).  This
      implies the minimum-as-mute TLV bit in TLV for each corresponding
      control.  Meanwhile we build the virtual master from these, but the
      TLV bit is missing, even though the slaves have it.
      
      This patch simply adds the missing TLV_DB_SCALE_MUTE bit for vmaster,
      as already done in patch_sigmatel.c.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      61074c1a
  2. 25 6月, 2014 1 次提交
  3. 28 2月, 2014 1 次提交
    • T
      ALSA: hda - Fix registration of beep input device · d604b399
      Takashi Iwai 提交于
      The beep input device is registered via input_register_device(), but
      this is called in snd_hda_attach_beep_device() where the sound devices
      aren't registered yet.  This leads to the binding to non-existing
      object, thus results in failure.  And, even if the binding worked
      (against the PCI object), it's still racy; the input device appears
      before the sound objects.
      
      For fixing this, register the input device properly at dev_register
      ops of the codec object it's bound with.  Also, call
      snd_hda_detach_beep_device() at dev_disconnection so that it's
      detached at the right timing.  As a bonus, since it's called in the
      codec's ops, we can get rid of the further call from the other codec
      drivers.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      d604b399
  4. 25 2月, 2014 1 次提交
    • T
      ALSA: hda - Replace with standard printk · 4e76a883
      Takashi Iwai 提交于
      Use dev_err() and co for messages from HD-audio controller and codec
      drivers.  The codec drivers are mostly bound with codec objects, so
      some helper macros, codec_err(), codec_info(), etc, are provided.
      They merely wrap the corresponding dev_xxx().
      
      There are a few places still calling snd_printk() and its variants
      as they are called without the codec or device context.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      4e76a883
  5. 15 2月, 2014 1 次提交
  6. 11 2月, 2014 1 次提交
  7. 07 2月, 2014 1 次提交
    • T
      ALSA: hda - Fix inconsistent Mic mute LED · 7fe30711
      Takashi Iwai 提交于
      The current code for controlling mic mute LED in patch_sigmatel.c
      blindly assumes that there is a single capture switch.  But, there can
      be multiple multiple ones, and each of them flips the state, ended up
      in an inconsistent state.
      
      For fixing this problem, this patch adds kcontrol to be passed to the
      hook function so that the callee can check which switch is being
      accessed.  In stac_capture_led_hook(), the state is checked as a
      bitmask, and turns on the LED when all capture switches are off.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      7fe30711
  8. 30 1月, 2014 9 次提交
  9. 08 1月, 2014 1 次提交
    • T
      ALSA: hda - Split Thinkpad ACPI-related code · b317b032
      Takashi Iwai 提交于
      Both patch_realtek.c and patch_conexant.c contain the fairy same code
      snippet for supporting Thinkpad ACPI LED controls.  Split them into
      thinkpad_helper.c and include it from both places.  Although this
      isn't the best approach from the code size POV, the probability for
      coexistence of both Realtek and Conexant codecs on a single machine is
      pretty low, thus it'll end up with less memory footprint than
      splitting to yet another module.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      b317b032
  10. 20 12月, 2013 1 次提交
  11. 06 12月, 2013 1 次提交
  12. 27 11月, 2013 1 次提交
  13. 07 11月, 2013 1 次提交
  14. 17 10月, 2013 1 次提交
  15. 30 9月, 2013 1 次提交
  16. 16 7月, 2013 1 次提交
  17. 20 6月, 2013 1 次提交
  18. 04 5月, 2013 1 次提交
  19. 29 4月, 2013 1 次提交
  20. 18 3月, 2013 3 次提交
  21. 14 3月, 2013 1 次提交
    • T
      ALSA: hda - Don't apply EAPD power filter as default · ba615b86
      Takashi Iwai 提交于
      So far, the driver doesn't power down the widget at going down to D3
      when the widget node has an EAPD capability and EAPD is actually set
      on all codecs unless codec->power_filter is set explicitly.
      This caused a problem on some Conexant codecs, leading to click
      noises, and we set it as NULL there.  But it is very unlikely that the
      problem hits only these codecs.
      
      Looking back at the development history, this workaround for EAPD was
      introduced just for some laptops with STAC9200 codec, then we applied
      it blindly for all.  Now, since it's revealed to have an ill effect,
      we should disable this workaround per default and apply only for the
      known requiring systems.
      
      The EAPD workaround is implemented now as snd_hda_codec_eapd_power_filter(),
      and this has to be set explicitly by the codec driver when needed.
      As of now, only patch_stac9200() sets this one.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      ba615b86
  22. 14 2月, 2013 1 次提交
  23. 25 1月, 2013 1 次提交
    • T
      ALSA: hda - Add power state filtering · 9419ab6b
      Takashi Iwai 提交于
      Add a hook to struct hda_codec for filtering the target power state of
      each widget when powering up/down.  The current hackish EAPD check is
      implemented as the default hook pointer, too.
      
      This allows codec drivers to implement own power filter.  In the
      upcoming changes, the generic parser will have the better power filter
      based on the active paths.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      9419ab6b
  24. 21 1月, 2013 1 次提交
  25. 19 1月, 2013 1 次提交
  26. 12 1月, 2013 3 次提交
  27. 09 1月, 2013 1 次提交
  28. 12 12月, 2012 1 次提交