1. 01 3月, 2014 18 次提交
  2. 28 2月, 2014 2 次提交
    • D
      ALSA: hda - Fix CORB reset to follow specification · ca460f86
      David Henningsson 提交于
      According to the HDA spec, we must write 1 to bit 15 on a CORBRP
      reset, read back 1, then write 0, then read back 0. This must be
      done while the DMA is not running.
      
      We accidentaly ended up writing back the 0 by using a writel
      instead of a writew to CORBWP.
      
      This caused occasional controller failure on Bay Trail hardware.
      
      [replaced error messages with dev_err() by tiwai]
      Signed-off-by: NDavid Henningsson <david.henningsson@canonical.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      ca460f86
    • T
      ALSA: hda - Fix registration of beep input device · d604b399
      Takashi Iwai 提交于
      The beep input device is registered via input_register_device(), but
      this is called in snd_hda_attach_beep_device() where the sound devices
      aren't registered yet.  This leads to the binding to non-existing
      object, thus results in failure.  And, even if the binding worked
      (against the PCI object), it's still racy; the input device appears
      before the sound objects.
      
      For fixing this, register the input device properly at dev_register
      ops of the codec object it's bound with.  Also, call
      snd_hda_detach_beep_device() at dev_disconnection so that it's
      detached at the right timing.  As a bonus, since it's called in the
      codec's ops, we can get rid of the further call from the other codec
      drivers.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      d604b399
  3. 27 2月, 2014 2 次提交
    • T
      ALSA: hda/sigmatel - Allow auto-switching for dock line-in of HP laptops · e8b99a1d
      Takashi Iwai 提交于
      Many HP laptops with STAC codecs have a docking station port and BIOS
      sets the pins for the input on the dock as a line in.  Because the
      generic parser doesn't handle a line in pin as auto-switchable, this
      resulted in the manual capture source selection on these laptops.
      
      However, from the usability POV, the automatic switching is easier.
      This patch adds the line_in_auto_switch hint in the fixup function for
      these laptops.  Even if no dock port is present, this should be
      harmless as the generic parser allows the auto-switching only in a
      limited situation (all three pins are located in different
      positions).
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      e8b99a1d
    • T
      ALSA: hda - Make codec object as a parent for input beep devices · f2606a80
      Takashi Iwai 提交于
      Instead of the controller, the new codec object is assigned as a
      parent for the hd-audio beep input devices, just like already done for
      PCM and hwdep.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      f2606a80
  4. 26 2月, 2014 18 次提交