Skip to content
Snippets Groups Projects
  1. May 30, 2019
  2. Feb 06, 2019
  3. Jan 15, 2019
  4. Sep 13, 2018
  5. Jul 27, 2018
  6. Aug 12, 2017
  7. Aug 10, 2017
  8. Jun 09, 2017
  9. May 29, 2015
  10. Jan 28, 2015
  11. Jan 09, 2015
    • Takashi Iwai's avatar
      ALSA: intel8x0m: Simplify PM callbacks · 65fe5b94
      Takashi Iwai authored
      
      This is a similar cleanup like the commit [3db084fd: ALSA: fm801:
      PCI core handles power state for us].
      
      Since pci_set_power_state(), pci_save_state() and pci_restore_state()
      are already done in the PCI core side, so we don't need to it doubly.
      
      Also, pci_enable_device(), pci_disable_device() and pci_set_master()
      calls in PM callbacks are superfluous nowadays, too, so get rid of
      them as well.
      
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      65fe5b94
  12. Aug 12, 2014
  13. Feb 26, 2014
  14. Feb 12, 2014
  15. May 29, 2013
    • Takashi Iwai's avatar
      ALSA: PCI: Remove superfluous pci_set_drvdata(pci, NULL) at remove · 20a24225
      Takashi Iwai authored
      
      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: default avatarTakashi Iwai <tiwai@suse.de>
      20a24225
  16. Dec 07, 2012
  17. Aug 14, 2012
  18. Jul 03, 2012
  19. Apr 24, 2012
  20. Dec 19, 2011
  21. Oct 31, 2011
  22. Jun 10, 2011
    • Takashi Iwai's avatar
      ALSA: use KBUILD_MODNAME for request_irq argument in sound/pci/* · 934c2b6d
      Takashi Iwai authored
      
      The name argument of request_irq() appears in /proc/interrupts, and
      it's quite ugly when the name entry contains a space or special letters.
      In general, it's simpler and more readable when the module name appears
      there, so let's replace all entries with KBUILD_MODNAME.
      
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      934c2b6d
    • Takashi Iwai's avatar
      ALSA: Use KBUILD_MODNAME for pci_driver.name entries · 3733e424
      Takashi Iwai authored
      
      The convention for pci_driver.name entry in kernel drivers seem to be
      the module name or equivalent ones.  But, so far, almost all PCI sound
      drivers use more verbose name like "ABC Xyz (12)", and these are fairly
      confusing when appearing as a file name.
      
      This patch converts the all pci_driver.name entries in sound/pci/* to
      use KBUILD_MODNAME for more unified appearance.
      
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      3733e424
  23. May 19, 2011
  24. Mar 31, 2011
  25. Mar 11, 2011
    • Paul Bolle's avatar
      ALSA: intel8x0m: append 'm' to "r_intel8x0" · 966a7f0d
      Paul Bolle authored
      
      Appending an 'm' will distinguish it from a similar struct in intel8x0.c
      
      Signed-off-by: default avatarPaul Bolle <pebolle@tiscali.nl>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      966a7f0d
    • Paul Bolle's avatar
      ALSA: intel8x0m: add 'm' as "suffix" to static functions · a6e8509f
      Paul Bolle authored
      
      Adding an 'm' will distinguish them from identical names in intel8x0.c.
      
      Signed-off-by: default avatarPaul Bolle <pebolle@tiscali.nl>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      a6e8509f
    • Paul Bolle's avatar
      ALSA: intel8x0m: wait a bit before warm reset check · 5cd2ad81
      Paul Bolle authored
      
      At every resume a laptop I use prints this message (at KERN_ERR level):
          ALSA sound/pci/intel8x0m.c:904: AC'97 warm reset still in progress? [0x2]
      
      The thing to note here is that 0x2 corresponds to ICH_AC97COLD. Ie, what
      seems to be happening is that the register involved indicated a warm
      reset for some time (as the ICH_AC97WARM bit was set) but by the time
      the warning is printed, and that same register is checked again, that
      bit is already cleared and only the ICH_AC97COLD bit is still set.
      
      It turns out a warm reset needs some time to settle, but it is currently
      checked right away. The test therefore fails the first time it is done
      and schedule_timeout_uninterruptible() will be called. Once we return
      from that jiffies is already (far) past end_time on this laptop, so we
      exit the loop, print a warning, and exit the function while the warm
      reset actually succeeded.
      
      A way to fix this is to call usleep_range() after writing to the
      register involved. A handful of tests suggest 500 usecs is a safe value.
      (This might punish the "finish cold reset" case, but on this laptop such
      a cold reset apparently never happens, so I can't say for sure.)
      
      While we're at it drop the extra single tick from end_time, as it looks
      rather silly.
      
      Signed-off-by: default avatarPaul Bolle <pebolle@tiscali.nl>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      5cd2ad81
  26. Feb 09, 2010
  27. Jun 25, 2009
  28. Feb 05, 2009
  29. Jan 12, 2009
  30. Aug 13, 2008
  31. Apr 24, 2008
  32. Jan 31, 2008
    • Takashi Iwai's avatar
      [ALSA] Remove sound/driver.h · 9004acc7
      Takashi Iwai authored
      
      This header file exists only for some hacks to adapt alsa-driver
      tree.  It's useless for building in the kernel.  Let's move a few
      lines in it to sound/core.h and remove it.
      With this patch, sound/driver.h isn't removed but has just a single
      compile warning to include it.  This should be really killed in
      future.
      
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      Signed-off-by: default avatarJaroslav Kysela <perex@perex.cz>
      9004acc7
  33. Oct 16, 2007
  34. Feb 09, 2007
  35. Dec 20, 2006
Loading