1. 27 2月, 2010 5 次提交
  2. 04 2月, 2010 1 次提交
  3. 30 1月, 2010 2 次提交
  4. 18 12月, 2009 1 次提交
  5. 12 12月, 2009 1 次提交
  6. 04 12月, 2009 7 次提交
  7. 29 11月, 2009 1 次提交
    • D
      pcmcia: rework the irq_req_t typedef · 5fa9167a
      Dominik Brodowski 提交于
      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: NDominik Brodowski <linux@dominikbrodowski.net>
      5fa9167a
  8. 15 11月, 2009 1 次提交
  9. 12 11月, 2009 1 次提交
  10. 09 11月, 2009 1 次提交
  11. 16 9月, 2009 1 次提交
  12. 25 8月, 2009 2 次提交
    • O
      Bluetooth: Add USB autosuspend support to btusb driver · 7bee549e
      Oliver Neukum 提交于
      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: NOliver Neukum <oliver@neukum.org>
      Tested-by: NSarah Sharp <sarah.a.sharp@linux.intel.com>
      Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
      7bee549e
    • W
      Bluetooth: Fix false errors from bcsp_pkt_cull function · d2e353f7
      Wending Weng 提交于
      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: NWending Weng <wweng@rheinmetall.ca>
      Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
      d2e353f7
  13. 23 8月, 2009 16 次提交