1. 13 6月, 2015 2 次提交
  2. 12 6月, 2015 3 次提交
  3. 11 6月, 2015 8 次提交
    • T
      ALSA: hda - Fix link power unbalance at device removal · a457782a
      Takashi Iwai 提交于
      snd_hdac_link_power() has to be called after unregistering the codec
      device.  Otherwise the device might be already runtime-suspended, thus
      the refcount goes under zero, triggering a warning like:
      
        WARNING: CPU: 7 PID: 2014 at sound/hda/hdac_i915.c:63 snd_hdac_display_power+0x106/0x120 [snd_hda_core]()
        CPU: 7 PID: 2014 Comm: modprobe Not tainted 4.1.0-rc7-test+ #1
        Call Trace:
         [<ffffffff81697fe3>] dump_stack+0x4c/0x6e
         [<ffffffff810696da>] warn_slowpath_common+0x8a/0xc0
         [<ffffffff810697ca>] warn_slowpath_null+0x1a/0x20
         [<ffffffffa02dd526>] snd_hdac_display_power+0x106/0x120 [snd_hda_core]
         [<ffffffffa030b422>] azx_intel_link_power+0x12/0x20 [snd_hda_intel]
         [<ffffffffa037139f>] azx_link_power+0x1f/0x30 [snd_hda_codec]
         [<ffffffffa02d89fe>] snd_hdac_link_power+0x2e/0x40 [snd_hda_core]
         [<ffffffffa0368524>] snd_hda_codec_dev_free+0x34/0x50 [snd_hda_codec]
         [<ffffffffa0252061>] __snd_device_free+0x51/0xa0 [snd]
         .....
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      a457782a
    • J
      ALSA: hdac_ext: add extended stream capabilities · df203a4e
      Jeeja KP 提交于
      Now we have the bus and controller code added to find and initialize
      the extended capabilities. Now we need to use them in stream code to
      decouple stream, manage links etc
      
      So this patch adds the stream handling code for extended capabilities
      introduced in preceding patches
      Signed-off-by: NJeeja KP <jeeja.kp@intel.com>
      Signed-off-by: NVinod Koul <vinod.koul@intel.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      df203a4e
    • J
      ALSA: hdac_ext: add hdac extended controller · 0b00a561
      Jeeja KP 提交于
      The controller needs to support the new capabilities and allow
      reading, parsing and initializing of these capabilities, so this patch
      does it
      Signed-off-by: NJeeja KP <jeeja.kp@intel.com>
      Signed-off-by: NVinod Koul <vinod.koul@intel.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      0b00a561
    • J
      ALSA: hdac_ext: add extended HDA bus · dfe66a18
      Jeeja KP 提交于
      The new HDA controllers from Intel support new capabilities like
      multilink, pipe processing, SPIB, GTS etc In order to use them we
      create an extended HDA bus which embed the hdac bus and contains the
      fields for extended configurations
      Signed-off-by: NJeeja KP <jeeja.kp@intel.com>
      Signed-off-by: NVinod Koul <vinod.koul@intel.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      dfe66a18
    • J
      ALSA: usb-audio: Set correct type for some UAC2 mixer controls. · 27c41dad
      Johan Rastén 提交于
      Changed ctl type for Input Gain Control and Input Gain Pad Control to
      USB_MIXER_S16 as per section 5.2.5.7.11-12 in the USB Audio Class 2.0
      definition.
      Signed-off-by: NJohan Rastén <johan@oljud.se>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      27c41dad
    • T
      ALSA: hda - Re-add the lost fake mute support · a686ec4c
      Takashi Iwai 提交于
      Yet another regression by the transition to regmap cache; for better
      usability, we had the fake mute control using the zero amp value for
      Conexant codecs, and this was forgotten in the new hda core code.
      
      Since the bits 4-7 are unused for the amp registers (as we follow the
      syntax of AMP_GET verb), the bit 4 is now used to indicate the fake
      mute.  For setting this flag, snd_hda_codec_amp_update() becomes a
      function from a simple macro.  The bonus is that it gained a proper
      function description.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      a686ec4c
    • T
      Merge branch 'for-linus' into for-next · 4af88a9c
      Takashi Iwai 提交于
      This merges and resolves the non-trivial conflicts with the recent fix
      for hda-i915 binding fallback.
      
      Conflicts:
      	sound/pci/hda/hda_intel.c
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      4af88a9c
    • T
      ALSA: hda - Continue probing even if i915 binding fails · bf06848b
      Takashi Iwai 提交于
      Currently snd-hda-intel driver aborts the probing of Intel HD-audio
      controller with i915 power well management when binding with i915
      driver via hda_i915_init() fails.  This is no big problem for Haswell
      and Broadwell where the HD-audio controllers are dedicated to
      HDMI/DP, thus i915 link is mandatory.  However, Skylake, Baytrail and
      Braswell have only one controller and both HDMI/DP and analog codecs
      share the same bus.  Thus, even if HDMI/DP isn't usable, we should
      keep the controller working for other codecs.
      
      For fixing this, this patch simply allows continuing the probing even
      if hda_i915_init() call fails.  This may leave stale sound components
      for HDMI/DP devices that are unbound with graphics.  We could abort
      the probing selectively, but from the code simplicity POV, it's better
      to continue in all cases.
      Reported-by: NLibin Yang <libin.yang@intel.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      bf06848b
  4. 10 6月, 2015 2 次提交
  5. 09 6月, 2015 6 次提交
  6. 08 6月, 2015 1 次提交
  7. 06 6月, 2015 18 次提交