1. 18 1月, 2013 6 次提交
    • T
      ALSA: hda - Look for boost controls more deeply · 6f7c83af
      Takashi Iwai 提交于
      In the current generic parser code, we look for the (mic) boost
      controls only on input pins.  But many codecs assign the boost volume
      to a widget connected to each input pin instead of the input amp of
      the pin itself.
      
      In this patch, the parser tries to look through more widgets connected
      to the pin and find a boost amp.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      6f7c83af
    • T
      ALSA: hda - Fix invalid mute in path activation · 8999bf0a
      Takashi Iwai 提交于
      When an amp in the activation path is associated with mixer controls,
      activate_amp() tries to skip the initialization.  It's good, but only
      if the mixer really initializes both mute and volume.  Otherwise,
      either the mute of the volume is left uninitialized.
      
      This patch adds this missing check and properly initialize the
      partially controlled amps in an activation path.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      8999bf0a
    • T
      ALSA: hda - Unify input label creations in generic parser · c970042c
      Takashi Iwai 提交于
      There are a few places creating the labels and indices of kctls for
      each input pin in the current generic parser code.  This is redundant
      and makes harder to maintain.  Let's create the labels and indices at
      once and keep them in hda_gen_spec.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      c970042c
    • T
      ALSA: hda - Keep autocfg.input idx value in imux table · 9dba205b
      Takashi Iwai 提交于
      Since the imux table entries can be a subset of autocfg.input table,
      the indices of these aren't always same.  For passing the proper index
      value of autocfg.input at creating input ctl labels (via
      snd_hda_autocfg_input_label()), keep the corresponding autocfg.input
      idx value in the index field of each imux item, which isn't used in
      the generic driver.
      
      Also, this makes easier to check the invalid imux pin for stereo mix.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      9dba205b
    • T
      ALSA: hda - Fix missing unsol event handler in some codec drivers · 8a6c21ae
      Takashi Iwai 提交于
      This resulted in non-working auto-mute behavior, of course...
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      8a6c21ae
    • T
      ALSA: hda - Use generic parser for STAC/IDT codec driver · 36c9db7a
      Takashi Iwai 提交于
      Finally we reached here.  All codecs driver (except for CA0132, which
      has really device-specific requirements) have been converted to use
      the generic parser.
      
      This patch appears bigger than others since it also involves with the
      code shuffling, but mostly the cut-off of parser codes and adapt to
      the generic parser flags.  Most of fixup codecs haven't been changed
      but just removed a few unnecessary codes.
      
      The only missing stuff is the SPDIF mux control.  It'll be added again
      later.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      36c9db7a
  2. 17 1月, 2013 11 次提交
  3. 16 1月, 2013 8 次提交
  4. 15 1月, 2013 12 次提交
  5. 14 1月, 2013 3 次提交