1. 15 6月, 2015 4 次提交
    • T
      ALSA: bebob: improve signal mode detection for clock source · 5a668812
      Takashi Sakamoto 提交于
      With BeBoB version 3, current ALSA BeBoB driver detects the type of
      current clock signal source wrongly. This is due to a lack of proper
      implementation to parse the information.
      
      This commit renews the parser. As a result, this driver detects
      SYT-Match clock signal, thus it can start streams with two modes;
      SYT-Match mode and the others. SYT-Match mode will be supported in future
      commits.
      
      There's a constrain about detected internal/external clock source.
      When detecting external clock source, this driver allows userspace
      applications to use current sampling rate only. This is due to consider
      abour synchronization to external clock sources such as S/PDIF, ADAT or
      word-clock.
      
      According to several information from some devices, I guesss that the
      internal clock of most devices synchronize to IEEE 1394 cycle start
      packet. In this case, by a usual way, it's detect as 'Sync type
      of output Music Sub-Unit' connected to 'Sync type of PCR output Unit
      (oPCR)', and this driver judges it as internal clock. Therefore,
      userspace applications is allowed to request arbitrary supported sampling
      rates.
      
      On the other hand, several devices based on BeBoB version 3 have
      additional internal clock. In this case, by a usual way, it's detect as
      'Sync/Additional type of External input Unit'. Unfortunately, there's no
      way to distinguish this sync type from the other external clock sources
      such as word-clock. In this case, this driver handles it as external and
      userspace applications is forced to use current sampling rate.
      
      I note that when the source of clock is detected as 'Isochronous stream
      type of input PCR[0]', it's under 'SYT-Match' mode. In this mode, the
      synchronization clock is generated according to SYT-series in received
      packets. In this case, this driver generates the series by myself. I
      experienced this mode often make the device silent suddenly during
      playbacking. This means that the mode is easy to lost synchronization.
      Signed-off-by: NTakashi Sakamoto <o-takashi@sakamocchi.jp>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      5a668812
    • T
      Merge branch 'for-linus' into for-next · 88f1236b
      Takashi Iwai 提交于
      Conflicts:
      	sound/pci/hda/patch_realtek.c
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      88f1236b
    • T
      ALSA: hda - Fix audio crackles on Dell Latitude E7x40 · 8b99aba7
      Takashi Iwai 提交于
      We still got a report that the audio crackles and noises occur with
      the recent 4.1 kernels on Dell machines.  These machines seem to need
      similar workarounds that have been applied to the recent Dell XPS 13
      models.  Since the codec of these machines (Dell Latitute E7240 and
      E7440) is different from XPS 13's one, we need a new fixup entry.
      
      Also, it was confirmed that the previous workaround to disable the
      widget power-save (commit [219f47e4: ALSA: hda - Disable widget
      power-saving for ALC292 & co]) is no longer needed after this fix.
      So, this patch includes the partial revert of the commit, too.
      Reported-and-tested-by: NMihai Donțu <mihai.dontu@gmail.com>
      Tested-by: NJonathan McDowell <noodles@earth.li>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      8b99aba7
    • H
      ALSA: hda - adding a DAC/pin preference map for a HP Envy TS machine · 6ab42ff4
      Hui Wang 提交于
      On a HP Envy TouchSmart laptop, there are 2 speakers (main speaker
      and subwoofer speaker), 1 headphone and 2 DACs, without this fixup,
      the headphone will be assigned to a DAC and the 2 speakers will be
      assigned to another DAC, this assignment makes the surround-2.1
      channels invalid.
      
      To fix it, here using a DAC/pin preference map to bind the main
      speaker to 1 DAC and the subwoofer speaker will be assigned to another
      DAC.
      
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NHui Wang <hui.wang@canonical.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      6ab42ff4
  2. 13 6月, 2015 4 次提交
  3. 12 6月, 2015 3 次提交
  4. 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
  5. 10 6月, 2015 2 次提交
  6. 09 6月, 2015 6 次提交
  7. 08 6月, 2015 1 次提交
  8. 06 6月, 2015 12 次提交