1. 05 2月, 2010 2 次提交
  2. 02 2月, 2010 1 次提交
  3. 16 12月, 2009 1 次提交
  4. 12 12月, 2009 1 次提交
  5. 31 10月, 2009 1 次提交
  6. 29 7月, 2009 1 次提交
  7. 20 7月, 2009 2 次提交
  8. 13 7月, 2009 1 次提交
  9. 16 6月, 2009 2 次提交
  10. 25 3月, 2009 3 次提交
    • Y
      USB: r8a66597-hcd: suspend/resume support · e1e609be
      Yoshihiro Shimoda 提交于
      Fix the problem that system cannot suspend.
      Signed-off-by: NYoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      e1e609be
    • G
      USB: make transfer_buffer_lengths in struct urb field u32 · 16e2e5f6
      Greg Kroah-Hartman 提交于
      Roel Kluin pointed out that transfer_buffer_lengths in struct urb was
      declared as an 'int'.  This patch changes this field to be 'u32' to
      prevent any potential negative conversion and comparison errors.
      
      This triggered a few compiler warning messages when these fields were
      being used with the min macro, so they have also been fixed up in this
      patch.
      
      Cc: Roel Kluin <roel.kluin@gmail.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      16e2e5f6
    • J
      USB: drivers: use USB API functions rather than constants · 2e0fe709
      Julia Lawall 提交于
      This set of patches introduces calls to the following set of functions:
      
      usb_endpoint_dir_in(epd)
      usb_endpoint_dir_out(epd)
      usb_endpoint_is_bulk_in(epd)
      usb_endpoint_is_bulk_out(epd)
      usb_endpoint_is_int_in(epd)
      usb_endpoint_is_int_out(epd)
      usb_endpoint_num(epd)
      usb_endpoint_type(epd)
      usb_endpoint_xfer_bulk(epd)
      usb_endpoint_xfer_control(epd)
      usb_endpoint_xfer_int(epd)
      usb_endpoint_xfer_isoc(epd)
      
      In some cases, introducing one of these functions is not possible, and it
      just replaces an explicit integer value by one of the following constants:
      
      USB_ENDPOINT_XFER_BULK
      USB_ENDPOINT_XFER_CONTROL
      USB_ENDPOINT_XFER_INT
      USB_ENDPOINT_XFER_ISOC
      
      An extract of the semantic patch that makes these changes is as follows:
      (http://www.emn.fr/x-info/coccinelle/)
      
      // <smpl>
      @r1@ struct usb_endpoint_descriptor *epd; @@
      
      - ((epd->bmAttributes & \(USB_ENDPOINT_XFERTYPE_MASK\|3\)) ==
      - \(USB_ENDPOINT_XFER_CONTROL\|0\))
      + usb_endpoint_xfer_control(epd)
      
      @r5@ struct usb_endpoint_descriptor *epd; @@
      
      - ((epd->bEndpointAddress & \(USB_ENDPOINT_DIR_MASK\|0x80\)) ==
      -  \(USB_DIR_IN\|0x80\))
      + usb_endpoint_dir_in(epd)
      
      @inc@
      @@
      
      #include <linux/usb.h>
      
      @depends on !inc && (r1||r5)@
      @@
      
      + #include <linux/usb.h>
        #include <linux/usb/...>
      // </smpl>
      Signed-off-by: NJulia Lawall <julia@diku.dk>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      2e0fe709
  11. 08 1月, 2009 1 次提交
  12. 22 12月, 2008 2 次提交
  13. 14 11月, 2008 1 次提交
  14. 12 11月, 2008 1 次提交
  15. 18 10月, 2008 3 次提交
  16. 14 8月, 2008 1 次提交
  17. 22 7月, 2008 3 次提交
  18. 29 4月, 2008 1 次提交
  19. 25 4月, 2008 5 次提交
  20. 11 4月, 2008 1 次提交
  21. 18 12月, 2007 1 次提交
  22. 13 10月, 2007 5 次提交