1. 16 4月, 2015 1 次提交
  2. 23 3月, 2015 1 次提交
    • T
      ALSA: hda - Make snd_hda_bus_type public · e3d280fc
      Takashi Iwai 提交于
      Define the common hd-audio driver and device types to bind over
      snd_hda_bus_type publicly.  This allows to implement other type of
      device and driver code over hd-audio bus.
      
      Now both struct hda_codec and struct hda_codec_driver inherit these
      new struct hdac_device and struct hdac_driver, respectively.
      
      The bus registration is done in subsys_initcall() to assure it
      before any other driver registrations.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      e3d280fc
  3. 15 1月, 2015 1 次提交
    • T
      ALSA: hda - Select INPUT for Realtek HD-audio codec · ffcd28d8
      Takashi Iwai 提交于
      The commit commit [33f4acd3: ALSA: hda - Enable mic mute hotkey
      and LEDs for an HP machine] introduced a quirk for a HP machine
      involving with the input event handling.  Although the relevant code
      is protected via IS_ENABLED(CONFIG_INPUT), this doesn't suffice when
      the audio driver is built in while the input is module.
      
      As an easy workaround, this patch forcibly selects CONFIG_INPUT in
      Kconfig.  This shouldn't be a practical problem since CONFIG_INPUT is
      almost mandatory for all systems.  Also, this allows to remove the
      ugly ifdefs in the code.
      
      Fixes: 33f4acd3 ('ALSA: hda - Enable mic mute hotkey and LEDs for an HP machine')
      Acked-by: NDavid Henningsson <david.henningsson@canonical.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      ffcd28d8
  4. 20 5月, 2014 1 次提交
  5. 01 3月, 2014 1 次提交
  6. 25 2月, 2014 1 次提交
    • T
      ALSA: hda - Add sysfs to codec object, too · 648a8d27
      Takashi Iwai 提交于
      We have currently sysfs attributes for each hwdep, but basically these
      should belong to the codec itself, per se.  Let's add them to the
      codec object while keeping them for hwdep as is for compatibility.
      
      While we are at it, split the sysfs-related stuff into a separate
      source file, hda_sysfs.c, and keep only the stuff necessary for hwdep
      in hda_hwdep.c.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      648a8d27
  7. 19 12月, 2013 2 次提交
    • T
      ALSA: hda - Add warning texts when codec driver Kconfig doesn't match · d8f66c71
      Takashi Iwai 提交于
      When a Kconfig of a codec driver doesn't match with the controller
      (CONFIG_SND_HDA_INTEL), it'll result in the non-working automatic
      probing.  Unfortunately kbuild can't give such a restriction, but at
      least, it's possible to show a warning if such a condition is found.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      d8f66c71
    • T
      ALSA: hda - Make CONFIG_SND_HDA_CODEC_* tristate · 595fe1b7
      Takashi Iwai 提交于
      So far, CONFIG_SND_HDA_CODEC_* kconfigs have been booleans due to
      historical reasons.  The major reason was that the automatic codec
      driver probing wouldn't work if user sets a codec driver as a module
      while the controller driver as a built-in.  And, another reason was to
      avoid exporting symbols of the helper codes when all drivers are built
      in.
      
      But, this sort of "kindness" rather confuses people in the end,
      especially makes the config refinement via localmodconfig unhappy.
      Also, a codec module would still work if you re-bind the controller
      driver via sysfs (although it's no automatic loading), so there might
      be a slight use case.
      
      That said, better to let people fallen into a pitfall than being too
      smart and restrict something.  Let's make things straightforward: now
      all CONFIG_SND_HDA_CODEC_* become tristate, and all symbols exported
      unconditionally.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      595fe1b7
  8. 19 11月, 2013 1 次提交
  9. 27 8月, 2013 1 次提交
  10. 06 6月, 2013 2 次提交
  11. 05 2月, 2013 1 次提交
  12. 18 1月, 2013 1 次提交
    • 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
  13. 12 1月, 2013 8 次提交
  14. 28 11月, 2012 1 次提交
  15. 25 10月, 2012 1 次提交
  16. 30 8月, 2012 1 次提交
  17. 04 7月, 2012 1 次提交
    • T
      ALSA: hda - Remove beep_mode=2 · 0920c9b4
      Takashi Iwai 提交于
      The beep_mode=2 option was introduced to make the beep mixer
      controlling the beep input allocation/deallocation dynamically, so
      that a user can switch between HD-audio codec digital beep and the
      system beep only via mixer API.  This was necessary because the
      keyboard driver took only the first input beep instance at that time.
      
      However, the recent keyboard driver already processes the multiple
      input instances, thus there is no point to keep this mode.
      
      Let's remove it.
      Acked-by: NJaroslav Kysela <perex@perex.cz>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      0920c9b4
  18. 25 6月, 2012 1 次提交
  19. 16 11月, 2011 1 次提交
  20. 26 7月, 2011 1 次提交
  21. 13 7月, 2011 1 次提交
  22. 12 7月, 2011 1 次提交
  23. 08 7月, 2011 1 次提交
    • T
      ALSA: hda - Split quirk codes from patch_realtek.c · 1d045db9
      Takashi Iwai 提交于
      Put the all static quirk codes out of patch_realtek.c, split into the
      file for each codec model.  For controlling the build of quirk codes,
      a new Kconfig, CONFIG_SND_HDA_ENABLE_REALTEK_QUIRKS is introduced.
      By setting this off, all quirk codes won't be built, thus you can save
      lots of memory.
      
      The codes in patch_realtek.c are also shuffled and more comments are
      given, but the contents aren't changed.  This is just a refactoring.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      1d045db9
  24. 21 6月, 2011 1 次提交
  25. 20 9月, 2010 1 次提交
    • T
      ALSA: hda - Merge all HDMI modules into the unified module · 84eb01be
      Takashi Iwai 提交于
      This patch merges all three patch_*hdmi variants to the single HDMI
      parser.  There is only one snd-hda-codec-hdmi module now.
      
      In this patch, the behavior of each parser isn't changed much.
      The old ATI parser still doesn't use the dynamic parser yet.
      In later patches, they'll be cleaned up.
      
      Also, this patch gets rid of the individual snd-hda-eld module and
      builds into snd-hda-codec-hdmi, since this is referred only from the
      HDMI parser.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      84eb01be
  26. 17 5月, 2010 1 次提交
  27. 04 3月, 2010 1 次提交
  28. 22 11月, 2009 1 次提交
  29. 16 11月, 2009 1 次提交
  30. 02 7月, 2009 1 次提交
  31. 24 6月, 2009 1 次提交
    • T
      ALSA: hda - Add patch module option · 4ea6fbc8
      Takashi Iwai 提交于
      Added the patch module option to apply a "patch" as a firmware to
      modify pin configurations or give additional hints to the driver
      before actually initializing and configuring the codec.
      
      This can be used as a workaround when the BIOS doesn't give sufficient
      information or give wrong information that doesn't match with the real
      hardware setup, until it's fixed statically in the driver via a quirk.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      4ea6fbc8