1. 17 11月, 2014 1 次提交
  2. 14 11月, 2014 2 次提交
  3. 21 10月, 2014 1 次提交
  4. 27 8月, 2014 1 次提交
  5. 13 8月, 2014 1 次提交
  6. 08 4月, 2014 1 次提交
    • T
      ALSA: ice1712: Fix boundary checks in PCM pointer ops · 4f8e9400
      Takashi Iwai 提交于
      PCM pointer callbacks in ice1712 driver check the buffer size boundary
      wrongly between bytes and frames.  This leads to PCM core warnings
      like:
         snd_pcm_update_hw_ptr0: 105 callbacks suppressed
         ALSA pcm_lib.c:352 BUG: pcmC3D0c:0, pos = 5461, buffer size = 5461, period size = 2730
      
      This patch fixes these checks to be placed after the proper unit
      conversions.
      
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      4f8e9400
  7. 04 4月, 2014 1 次提交
  8. 31 3月, 2014 1 次提交
  9. 26 2月, 2014 1 次提交
  10. 12 2月, 2014 1 次提交
  11. 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
  12. 07 3月, 2013 1 次提交
  13. 07 12月, 2012 1 次提交
  14. 18 10月, 2012 1 次提交
  15. 17 10月, 2012 1 次提交
  16. 24 4月, 2012 1 次提交
  17. 19 12月, 2011 1 次提交
  18. 01 11月, 2011 1 次提交
  19. 14 9月, 2011 1 次提交
    • C
      ALSA: mpu401: clean up interrupt specification · dba8b469
      Clemens Ladisch 提交于
      The semantics of snd_mpu401_uart_new()'s interrupt parameters are
      somewhat counterintuitive:  To prevent the function from allocating its
      own interrupt, either the irq number must be invalid, or the irq_flags
      parameter must be zero.  At the same time, the irq parameter being
      invalid specifies that the mpu401 code has to work without an interrupt
      allocated by the caller.  This implies that, if there is an interrupt
      and it is allocated by the caller, the irq parameter must be set to
      a valid-looking number which then isn't actually used.
      
      With the removal of IRQF_DISABLED, zero becomes a valid irq_flags value,
      which forces us to handle the parameters differently.
      
      This patch introduces a new flag MPU401_INFO_IRQ_HOOK for when the
      device interrupt is handled by the caller, and makes the allocation of
      the interrupt to depend only on the irq parameter.  As suggested by
      Takashi, the irq_flags parameter was dropped because, when used, it had
      the constant value IRQF_DISABLED.
      Signed-off-by: NClemens Ladisch <clemens@ladisch.de>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      dba8b469
  20. 24 6月, 2011 1 次提交
  21. 10 6月, 2011 2 次提交
    • T
      ALSA: use KBUILD_MODNAME for request_irq argument in sound/pci/* · 934c2b6d
      Takashi Iwai 提交于
      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: NTakashi Iwai <tiwai@suse.de>
      934c2b6d
    • T
      ALSA: Use KBUILD_MODNAME for pci_driver.name entries · 3733e424
      Takashi Iwai 提交于
      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: NTakashi Iwai <tiwai@suse.de>
      3733e424
  22. 31 3月, 2011 1 次提交
  23. 09 2月, 2010 1 次提交
  24. 05 2月, 2010 1 次提交
  25. 08 10月, 2009 1 次提交
  26. 21 9月, 2009 1 次提交
  27. 25 6月, 2009 1 次提交
  28. 07 4月, 2009 1 次提交
  29. 05 2月, 2009 1 次提交
  30. 12 1月, 2009 1 次提交
  31. 30 10月, 2008 1 次提交
  32. 09 9月, 2008 1 次提交
  33. 13 8月, 2008 1 次提交
  34. 24 4月, 2008 2 次提交
    • J
      [ALSA] Fix synchronize_irq() bugs, redundancies · f000fd80
      Jeff Garzik 提交于
      free_irq() calls synchronize_irq() for you, so there is no need for
      drivers to manually do the same thing (again).  Thus, calls where
      sync-irq immediately precedes free-irq can be simplified.
      
      However, during this audit several bugs were noticed, where free-irq is
      preceded by a "irq >= 0" check... but the sync-irq call is not covered
      by the same check.
      
      So, where sync-irq could not be eliminated completely, the missing check
      was added.
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      f000fd80
    • H
      [ALSA] sound: ice1712.c fix shadowed variable warnings · c3daa92d
      Harvey Harrison 提交于
      In all four case, adding a private value to the iooff index,
      call it priv_idx.
      sound/pci/ice1712/ice1712.c:1300:6: warning: symbol 'index' shadows an earlier one
      sound/pci/ice1712/ice1712.c:85:12: originally declared here
      sound/pci/ice1712/ice1712.c:1312:6: warning: symbol 'index' shadows an earlier one
      sound/pci/ice1712/ice1712.c:85:12: originally declared here
      sound/pci/ice1712/ice1712.c:1338:6: warning: symbol 'index' shadows an earlier one
      sound/pci/ice1712/ice1712.c:85:12: originally declared here
      sound/pci/ice1712/ice1712.c:1350:6: warning: symbol 'index' shadows an earlier one
      sound/pci/ice1712/ice1712.c:85:12: originally declared here
      
      [tiwai - fixed coding issues as well]
      Signed-off-by: NHarvey Harrison <harvey.harrison@gmail.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      c3daa92d
  35. 01 2月, 2008 2 次提交
  36. 16 10月, 2007 1 次提交