Skip to content
  1. Feb 28, 2014
    • David Henningsson's avatar
      ALSA: hda - Fix CORB reset to follow specification · ca460f86
      David Henningsson authored
      
      
      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: default avatarDavid Henningsson <david.henningsson@canonical.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      ca460f86
    • Takashi Iwai's avatar
      ALSA: hda - Fix registration of beep input device · d604b399
      Takashi Iwai authored
      
      
      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: default avatarTakashi Iwai <tiwai@suse.de>
      d604b399
    • Takashi Iwai's avatar
      Merge branch 'topic/cvt-dev-prints' into for-next · 2b9e4a73
      Takashi Iwai authored
      This merges the bunch of changes over pci and usb sound drivers to
      convert to dev_err() and co.
      2b9e4a73
  2. Feb 27, 2014
  3. Feb 26, 2014