1. 07 2月, 2014 1 次提交
  2. 03 2月, 2014 1 次提交
  3. 01 2月, 2014 1 次提交
    • S
      ALSA: hda/hdmi - allow PIN_OUT to be dynamically enabled · 75fae117
      Stephen Warren 提交于
      Commit 384a48d7 "ALSA: hda: HDMI: Support codecs with fewer cvts
      than pins" dynamically enabled each pin widget's PIN_OUT only when the
      pin was actively in use. This was required on certain NVIDIA CODECs for
      correct operation. Specifically, if multiple pin widgets each had their
      mux input select the same audio converter widget and each pin widget had
      PIN_OUT enabled, then only one of the pin widgets would actually receive
      the audio, and often not the one the user wanted!
      
      However, this apparently broke some Intel systems, and commit
      6169b673 "ALSA: hda - Always turn on pins for HDMI/DP" reverted the
      dynamic setting of PIN_OUT. This in turn broke the afore-mentioned NVIDIA
      CODECs.
      
      This change supports either dynamic or static handling of PIN_OUT,
      selected by a flag set up during CODEC initialization. This flag is
      enabled for all recent NVIDIA GPUs.
      Reported-by: NUosis <uosisl@gmail.com>
      Cc: <stable@vger.kernel.org> # v3.13
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      75fae117
  4. 30 1月, 2014 12 次提交
  5. 29 1月, 2014 1 次提交
  6. 25 1月, 2014 1 次提交
  7. 22 1月, 2014 1 次提交
  8. 16 1月, 2014 1 次提交
  9. 14 1月, 2014 2 次提交
  10. 13 1月, 2014 2 次提交
  11. 09 1月, 2014 3 次提交
  12. 08 1月, 2014 7 次提交
  13. 05 1月, 2014 1 次提交
  14. 20 12月, 2013 2 次提交
  15. 19 12月, 2013 3 次提交
    • 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 - Kill EXPORT_SYMBOL_HDA() · 2698ea98
      Takashi Iwai 提交于
      Replace all with the standard EXPORT_SYMBOL_GPL().
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      2698ea98
    • 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
  16. 18 12月, 2013 1 次提交
    • D
      ALSA: hda - Explicitly keep codec powered up in hdmi_present_sense · da4a7a39
      David Henningsson 提交于
      This should help us avoid the following mutex deadlock:
      
      [] mutex_lock+0x2a/0x50
      [] hdmi_present_sense+0x53/0x3a0 [snd_hda_codec_hdmi]
      [] generic_hdmi_resume+0x5a/0x70 [snd_hda_codec_hdmi]
      [] hda_call_codec_resume+0xec/0x1d0 [snd_hda_codec]
      [] snd_hda_power_save+0x1e4/0x280 [snd_hda_codec]
      [] codec_exec_verb+0x5f/0x290 [snd_hda_codec]
      [] snd_hda_codec_read+0x5b/0x90 [snd_hda_codec]
      [] snd_hdmi_get_eld_size+0x1e/0x20 [snd_hda_codec_hdmi]
      [] snd_hdmi_get_eld+0x2c/0xd0 [snd_hda_codec_hdmi]
      [] hdmi_present_sense+0x9a/0x3a0 [snd_hda_codec_hdmi]
      [] hdmi_repoll_eld+0x34/0x50 [snd_hda_codec_hdmi]
      Signed-off-by: NDavid Henningsson <david.henningsson@canonical.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      da4a7a39