1. 11 3月, 2015 31 次提交
  2. 09 3月, 2015 9 次提交
    • F
      usb: dwc3: gadget: drop unnecessary loop when cleaning up TRBs · 8f2c9544
      Felipe Balbi 提交于
      Now that we're using XFERINPROGRESS for all endpoint
      types (except Control), we will *always* be completing
      one TRB at a time, so it's safe to remove the loop
      from dwc3_cleanup_done_reqs.
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      8f2c9544
    • F
      usb: dwc3: omap: call of_platform_depopulate() instead · 3d0184d0
      Felipe Balbi 提交于
      This patch fixes a bug where removing dwc3-omap.ko
      would not trigger removal of dwc3.ko.
      
      of_platform_depopulate() already bakes an easy to
      use API for removing all our children which were
      populated during probe(); Let's use that one instead
      of cooking our own solution.
      
      Note that this is kind of a revert of commit c5a1fbca
      (usb: dwc3: dwc3-omap: Fix the crash on module removal)
      although we can't simply revert that because a direct
      call to platform_device_unregister would also be flakey.
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      3d0184d0
    • F
      usb: dwc3: core: only reset res->start in case of error · 3da1f6ee
      Felipe Balbi 提交于
      That trick is only needed if we end up with an error, so
      there's no point in messing that outside of an error path.
      
      In fact doing so causes problems when removing dwc3.ko,
      problems which commit c5a1fbca (usb: dwc3: dwc3-omap: Fix
      the crash on module removal) mistakenly tried to fix.
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      3da1f6ee
    • F
      usb: musb: core: improve musb_interrupt() a bit · 31a0ede0
      Felipe Balbi 提交于
      instead of using manually spelled out bit-shits
      and iterate over each of the 16-bits (one for
      each endpoint) on each direction, we can make use
      of for_each_set_bit() which internally uses
      find_first_bit().
      
      This makes the code slightly more readable while
      also making we only iterate over bits which are
      actually set.
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      31a0ede0
    • F
      usb: musb: core: fix TX/RX endpoint order · e3c93e1a
      Felipe Balbi 提交于
      As per Mentor Graphics' documentation, we should
      always handle TX endpoints before RX endpoints.
      
      This patch fixes that error while also updating
      some hard-to-read comments which were scattered
      around musb_interrupt().
      
      This patch should be backported as far back as
      possible since this error has been in the driver
      since it's conception.
      
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      e3c93e1a
    • F
      usb: musb: gadget: get rid of stop_activity() · d5638fcf
      Felipe Balbi 提交于
      that function is pretty close to a no-op by now,
      all we need is a call to musb_stop().
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      d5638fcf
    • L
      Linux 4.0-rc3 · 9eccca08
      Linus Torvalds 提交于
      9eccca08
    • A
      sunrpc: fix braino in ->poll() · 1711fd9a
      Al Viro 提交于
      POLL_OUT isn't what callers of ->poll() are expecting to see; it's
      actually __SI_POLL | 2 and it's a siginfo code, not a poll bitmap
      bit...
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      Cc: stable@vger.kernel.org
      Cc: Bruce Fields <bfields@fieldses.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      1711fd9a
    • L
      Merge tag 'usb-4.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · 1163d504
      Linus Torvalds 提交于
      Pull USB fixes from Greg KH:
       "Here's a round of USB fixes for 4.0-rc3.
      
        Nothing major, the usual gadget, xhci and usb-serial fixes and a few
        new device ids as well.
      
        All have been in linux-next successfully"
      
      * tag 'usb-4.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (36 commits)
        xhci: Workaround for PME stuck issues in Intel xhci
        xhci: fix reporting of 0-sized URBs in control endpoint
        usb: ftdi_sio: Add jtag quirk support for Cyber Cortex AV boards
        USB: ch341: set tty baud speed according to tty struct
        USB: serial: cp210x: Adding Seletek device id's
        USB: pl2303: disable break on shutdown
        USB: mxuport: fix null deref when used as a console
        USB: serial: clean up bus probe error handling
        USB: serial: fix port attribute-creation race
        USB: serial: fix tty-device error handling at probe
        USB: serial: fix potential use-after-free after failed probe
        USB: console: add dummy __module_get
        USB: ftdi_sio: add PIDs for Actisense USB devices
        Revert "USB: serial: make bulk_out_size a lower limit"
        cdc-acm: Add support for Denso cradle CU-321
        usb-storage: support for more than 8 LUNs
        uas: Add US_FL_NO_REPORT_OPCODES for JMicron JMS539
        USB: usbfs: don't leak kernel data in siginfo
        xhci: Clear the host side toggle manually when endpoint is 'soft reset'
        xhci: Allocate correct amount of scratchpad buffers
        ...
      1163d504
新手
引导
客服 返回
顶部