1. 27 Feb, 2010 5 commits
  2. 04 Feb, 2010 1 commit
  3. 30 Jan, 2010 2 commits
  4. 17 Dec, 2009 1 commit
  5. 11 Dec, 2009 1 commit
  6. 04 Dec, 2009 1 commit
  7. 03 Dec, 2009 6 commits
  8. 28 Nov, 2009 1 commit
    • Dominik Brodowski's avatar
      pcmcia: rework the irq_req_t typedef · 5fa9167a
      Dominik Brodowski authored
      Most of the irq_req_t typedef'd struct can be re-worked quite
      easily:
      
      (1) IRQInfo2 was unused in any case, so drop it.
      
      (2) IRQInfo1 was used write-only, so drop it.
      
      (3) Instance (private data to be passed to the IRQ handler):
      	Most PCMCIA drivers using pcmcia_request_irq() to actually
      	register an IRQ handler set the "dev_id" to the same pointer
      	as the "priv" pointer in struct pcmcia_device. Modify the two
      	exceptions (ipwireless, ibmtr_cs) to also work this waym and
      	set the IRQ handler's "dev_id" to p_dev->priv unconditionally.
      
      (4) Handler is to be of type irq_handler_t.
      
      (5) Handler != NULL already tells whether an IRQ handler is present.
      	Therefore, we do not need the IRQ_HANDLER_PRESENT flag in
      	irq_req_t.Attributes.
      
      CC: netdev@vger.kernel.org
      CC: linux-bluetooth@vger.kernel.org
      CC: linux-ide@vger.kernel.org
      CC: linux-wireless@vger.kernel.org
      CC: linux-scsi@vger.kernel.org
      CC: alsa-devel@alsa-project.org
      CC: Jaroslav Kysela <perex@perex.cz>
      CC: Jiri Kosina <jkosina@suse.cz>
      CC: Karsten Keil <isdn@linux-pingi.de>
      for the Bluetooth parts: Acked-by: Marcel Holtmann <marcel@holtmann.org>
      Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
      5fa9167a
  9. 14 Nov, 2009 1 commit
  10. 11 Nov, 2009 1 commit
  11. 08 Nov, 2009 1 commit
  12. 15 Sep, 2009 1 commit
  13. 24 Aug, 2009 2 commits
    • Oliver Neukum's avatar
      Bluetooth: Add USB autosuspend support to btusb driver · 7bee549e
      Oliver Neukum authored
      This patch adds support of USB autosuspend to the btusb driver.
      
      If the device doesn't support remote wakeup, simple support based on
      up/down is provided. If the device supports remote wakeup, additional
      support for autosuspend while the interface is up is provided. This is
      done by queueing URBs in an anchor structure and waking the device up
      from a work queue on sending. Reception triggers remote wakeup.
      
      The last busy facility of the USB autosuspend code is used. To close
      a race between autosuspend and transmission, a counter of ongoing
      transmissions is maintained.
      
      Add #ifdefs for CONFIG_PM as necessary.
      Signed-off-by: default avatarOliver Neukum <oliver@neukum.org>
      Tested-by: default avatarSarah Sharp <sarah.a.sharp@linux.intel.com>
      Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      7bee549e
    • Wending Weng's avatar
      Bluetooth: Fix false errors from bcsp_pkt_cull function · d2e353f7
      Wending Weng authored
      The error message "Removed only %u out of %u pkts" is printed when multiple
      to be acked packets are queued.
      
          if (i++ >= pkts_to_be_removed)
                  break;
      
      This will break out of the loop and increase the counter i when
      i==pkts_to_be_removed and the loop ends up with i=pkts_to_be_removed+1.
      
      The following line
      
          if (i != pkts_to_be_removed) {
                  BT_ERR("Removed only %u out of %u pkts", i, pkts_to_be_removed);
          }
      
      will then display the false message.
      
      The counter i must not increase on the same statement.
      Signed-off-by: default avatarWending Weng <wweng@rheinmetall.ca>
      Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      d2e353f7
  14. 22 Aug, 2009 16 commits