1. 22 Jan, 2013 10 commits
  2. 21 Jan, 2013 8 commits
  3. 18 Jan, 2013 16 commits
  4. 17 Jan, 2013 6 commits
    • Takashi Iwai's avatar
      ALSA: hda - Use generic parser for STAC/IDT codec driver · 36c9db7a
      Takashi Iwai authored
      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: default avatarTakashi Iwai <tiwai@suse.de>
      36c9db7a
    • Takashi Iwai's avatar
      Merge branch 'test/hda-gen-parser' into test/hda-migrate · 8f0fdc09
      Takashi Iwai authored
      * test/hda-gen-parser:
        ALSA: hda - Improve naming rule for primary output
        ALSA: hda - Add PCM capture hook to hda_gen_spec
        ALSA: hda - Record all detected ADCs in hda_gen_spec
        ALSA: hda - Move vmaster TLV parsing to snd_hda_gen_parse_auto_config()
        ALSA: hda - Add input jack mode enum controls to generic parser
        ALSA: hda - Give more comments to hda_gen_spec flags
        ALSA: hda - Add suppress_auto_mute flag to hda_gen_spec
        ALSA: hda - Record the current speaker / LO mute status in hda_gen_spec
        ALSA: hda - Properly call automute/switch hooks at init
      8f0fdc09
    • Takashi Iwai's avatar
      ALSA: hda - Improve naming rule for primary output · 247d85ee
      Takashi Iwai authored
      When the volume or mute control of the primary output is shared with
      other (headphone or speaker) outputs, we shouldn't name it as a
      specific output type but rather name it with the channel name or a
      generic name like "PCM".
      
      Also, this check should be performed individually for the volume and
      the mute controls because some codecs may have shared volumes but
      separate mute controls.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      247d85ee
    • Takashi Iwai's avatar
      ALSA: hda - Add PCM capture hook to hda_gen_spec · ac2e8736
      Takashi Iwai authored
      Not only PCM playback, a hook for PCM capture would be required for
      power controls in codec drivers.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      ac2e8736
    • Takashi Iwai's avatar
      ALSA: hda - Record all detected ADCs in hda_gen_spec · 0ffd534e
      Takashi Iwai authored
      Since the generic parser reduces the ADC list, copy the list of the
      all detected ADCs and keep it.
      
      This list can be later referred by the codec driver for finer power
      controls.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      0ffd534e
    • Takashi Iwai's avatar
      ALSA: hda - Move vmaster TLV parsing to snd_hda_gen_parse_auto_config() · 7a71bbf3
      Takashi Iwai authored
      Add vmaster_tlv[] to hda_gen_spec and store the suggested TLV data
      in snd_hda_gen_parse_auto_config().  This allows the codec driver to
      correct the TLV data (e.g. mute capability) before actually creating
      vmaster instance.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      7a71bbf3