1. 22 5月, 2006 1 次提交
  2. 28 4月, 2006 1 次提交
  3. 20 4月, 2006 1 次提交
    • J
      [PATCH] sound: fix hang in mpu401_uart.c · 962f831f
      Jon Masters 提交于
      This fixes a hang in mpu401_uart.c that can occur when the mpu401 interface
      is non-existent or otherwise doesn't respond to commands but we issue IO
      anyway.  snd_mpu401_uart_cmd now returns an error code that is passed up
      the stack so that an open() will fail immediately in such cases.
      
      Eventually discovered after wine/cxoffice would constantly cause hard
      lockups on my desktop immediately after loading (emulating Windows too
      well).  Turned out that I'd recently moved my sound cards around and using
      /dev/sequencer now talks to a sound card with a broken MPU.
      
      This second version changes -EFAULT to -EIO and frees open resources on
      error too.  Test booted and seems to work ok.
      Signed-off-by: NJon Masters <jcm@jonmasters.org>
      Cc: Jaroslav Kysela <perex@suse.cz>
      Acked-by: NTakashi Iwai <tiwai@suse.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      962f831f
  4. 28 3月, 2006 1 次提交
    • B
      [PATCH] pnp: mpu401: adjust pnp_register_driver signature · f301ae6a
      Bjorn Helgaas 提交于
      This series of patches removes the assumption that pnp_register_driver()
      returns the number of devices claimed.  Returning the count is unreliable
      because devices may be hot-plugged in the future.  (Many devices don't support
      hot-plug, of course, but PNP in general does.)
      
      This changes the convention to "zero for success, or a negative error value,"
      which matches pci_register_driver(), acpi_bus_register_driver(), and
      platform_driver_register().
      
      If drivers need to know the number of devices, they can count calls to their
      .probe() methods.
      
      This patch:
      
      Remove the assumption that pnp_register_driver() returns the number of devices
      claimed.
      Signed-off-by: NBjorn Helgaas <bjorn.helgaas@hp.com>
      Cc: Adam Belay <ambx1@neo.rr.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      f301ae6a
  5. 22 3月, 2006 6 次提交
  6. 25 2月, 2006 1 次提交
  7. 01 2月, 2006 1 次提交
  8. 04 1月, 2006 2 次提交
  9. 03 1月, 2006 21 次提交
  10. 09 11月, 2005 1 次提交
  11. 04 11月, 2005 1 次提交
  12. 12 9月, 2005 2 次提交
    • T
      [ALSA] Replace with kzalloc() - others · 561b220a
      Takashi Iwai 提交于
      Documentation,SA11xx UDA1341 driver,Generic drivers,MPU401 UART,OPL3
      OPL4,Digigram VX core,I2C cs8427,I2C lib core,I2C tea6330t,L3 drivers
      AK4114 receiver,AK4117 receiver,PDAudioCF driver,PPC PMAC driver
      SPARC AMD7930 driver,SPARC cs4231 driver,Synth,Common EMU synth
      USB generic driver,USB USX2Y
      Replace kcalloc(1,..) with kzalloc().
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      561b220a
    • T
      [ALSA] Add snd_card_set_generic_dev() call · 16dab54b
      Takashi Iwai 提交于
      ARM,SA11xx UDA1341 driver,Generic drivers,MPU401 UART,MIPS
      MIPS AU1x00 driver,PPC,PPC PowerMac driver,SPARC,SPARC AMD7930 driver
      SPARC cs4231 driver,SPARC DBRI driver
      - Added snd_card_set_generic_dev() call.
      - Added SND_GENERIC_DRIVER to Kconfig.
      - Clean up the error path in probe if necessary.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      16dab54b
  13. 30 8月, 2005 1 次提交
    • J
      [ALSA] PCM resume cleanups · 41e4845c
      Jaroslav Kysela 提交于
      Digigram VX core,CS4231 driver,ATIIXP driver,VIA82xx driver
      VIA82xx-modem driver,au88x0 driver,CS46xx driver,Trident driver
      This patch disables SNDRV_PCM_INFO_RESUME flag for drivers which does not
      support the full resume.
      Signed-off-by: NJaroslav Kysela <perex@suse.cz>
      41e4845c