1. 31 5月, 2013 2 次提交
  2. 29 5月, 2013 1 次提交
    • T
      ALSA: PCI: Remove superfluous pci_set_drvdata(pci, NULL) at remove · 20a24225
      Takashi Iwai 提交于
      As drvdata is cleared to NULL at probe failure or at removal by the
      driver core, we don't have to call pci_set_drvdata(pci, NULL) any
      longer in each driver.
      
      The only remaining pci_set_drvdata(NULL) is in azx_firmware_cb() in
      hda_intel.c.  Since this function itself releases the card instance,
      we need to clear drvdata here as well, so that it won't be released
      doubly in the remove callback.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      20a24225
  3. 28 5月, 2013 1 次提交
  4. 17 5月, 2013 1 次提交
  5. 16 5月, 2013 2 次提交
  6. 10 5月, 2013 1 次提交
  7. 08 5月, 2013 1 次提交
    • T
      ALSA: hda - Apply pin-enablement workaround to all Haswell HDMI codecs · 17df3f55
      Takashi Iwai 提交于
      This is a revised patch based on Mengdong Lin's fix patch, which is a
      supplement to a previous patch [1611a9c9: ALSA: hda - Add fixup for
      Haswell to enable all pin and convertor widgets].
      
      Some Haswell BIOS will disable the 2nd and 3rd pin/covertor widgets
      when the HD-A controller changes state from D3 to D0.  So when the
      controller resumes after a system or runtime suspend, these widgets
      are disabled and programming these widgets to D0 will cause H/W error
      and codec will not respond.
      
      In addition, we found out that some BIOS disables the pins at S3
      although it shows up at boot.  This confuses the driver utterly, and
      the hardware falls into the fatal communication error like the above.
      
      So in this patch, we apply intel_haswell_enable_all_pins() not only as
      a fixup to a certain device (with 8086:2010) but to all Haswell
      machines.  The codec driver basically assumes that all pins are
      exposed, so it's anyway better to see them from the beginning.  Even
      if all pins and converters are shown by this call, there should be no
      regression in practice: the pin default configurations are still kept,
      thus the disabled pins are handled as disabled by the driver
      properly.
      Signed-off-by: NMengdong Lin <mengdong.lin@intel.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      17df3f55
  8. 07 5月, 2013 1 次提交
    • W
      ALSA: HDA: Fix Oops caused by dereference NULL pointer · 2195b063
      Wang YanQing 提交于
      The interrupt handler azx_interrupt will call azx_update_rirb,
      which may call snd_hda_queue_unsol_event, snd_hda_queue_unsol_event
      will dereference chip->bus pointer.
      
      The problem is we alloc chip->bus in azx_codec_create
      which will be called after we enable IRQ and enable unsolicited
      event in azx_probe.
      
      This will cause Oops due dereference NULL pointer. I meet it, good luck:)
      
      [Rearranged the NULL check before the tracepoint and added another
       NULL check of bus->workq -- tiwai]
      Signed-off-by: NWang YanQing <udknight@gmail.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      2195b063
  9. 04 5月, 2013 1 次提交
  10. 03 5月, 2013 1 次提交
  11. 29 4月, 2013 3 次提交
  12. 26 4月, 2013 1 次提交
  13. 25 4月, 2013 1 次提交
  14. 24 4月, 2013 1 次提交
  15. 22 4月, 2013 1 次提交
  16. 18 4月, 2013 3 次提交
  17. 17 4月, 2013 1 次提交
  18. 16 4月, 2013 3 次提交
    • T
      ALSA: hda - Use the primary DAC for all aamix outputs · 5ead56f2
      Takashi Iwai 提交于
      When setting up the aamix output paths, use the primary DAC instead of
      the individual DAC for each output as default.  Otherwise multiple
      DACs will be turned on for a single aamix widget, which results in
      doubly or more volumes, because the duplicated signals will be sent
      through all these DACs for a single stream.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      5ead56f2
    • T
      ALSA: hda - Fix aamix activation with loopback control on VIA codecs · 65033cc8
      Takashi Iwai 提交于
      When we have a loopback mixer control, this should manage the state
      whether the output paths include the aamix or not.  But the current
      code blindly initializes the output paths with aamix = true, thus the
      aamix is enabled unless the loopback mixer control is changed.
      
      Also, update_aamix_paths() called by the loopback mixer control put
      callback invokes snd_hda_activate_path() with aamix = true even for
      disabling the mixing.  This leaves the aamix path even though the
      loopback control is turned off.
      
      This patch fixes these issues:
      - Introduced aamix_default() helper to indicate whether with_aamix is
        true or false as default
      - Fix the argument in update_aamix_paths() for disabling loopback
      Reported-by: NLydia Wang <LydiaWang@viatech.com.cn>
      Cc: <stable@vger.kernel.org> [v3.9+]
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      65033cc8
    • D
      ALSA: hda - Add codec delay to the capture time stamp. · ae03bbb8
      Dylan Reid 提交于
      For capture, the delay through the codec contributes to the time stamp
      of the sample recorded at the A to D.  Rename the codec time stamp
      function appropriately.
      Signed-off-by: NDylan Reid <dgreid@chromium.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      ae03bbb8
  19. 15 4月, 2013 2 次提交
  20. 11 4月, 2013 3 次提交
  21. 09 4月, 2013 1 次提交
  22. 07 4月, 2013 1 次提交
  23. 05 4月, 2013 4 次提交
  24. 04 4月, 2013 3 次提交