1. 22 3月, 2013 3 次提交
  2. 21 3月, 2013 2 次提交
  3. 20 3月, 2013 5 次提交
  4. 18 3月, 2013 2 次提交
  5. 16 3月, 2013 3 次提交
  6. 14 3月, 2013 3 次提交
  7. 13 3月, 2013 2 次提交
  8. 12 3月, 2013 3 次提交
  9. 11 3月, 2013 2 次提交
  10. 08 3月, 2013 1 次提交
  11. 07 3月, 2013 8 次提交
  12. 05 3月, 2013 6 次提交
    • A
      usb: musb: omap2430: fix sparse warning · 4b58ed11
      Aaro Koskinen 提交于
      Fix the following sparse warning:
      
      drivers/usb/musb/omap2430.c:54:33: warning: symbol '_glue' was not \
      	declared. Should it be static?
      Signed-off-by: NAaro Koskinen <aaro.koskinen@iki.fi>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      4b58ed11
    • A
      usb: musb: omap2430: fix omap_musb_mailbox glue check again · f8c4b0e7
      Aaro Koskinen 提交于
      Commit 80ab72e1 (usb: musb: omap2430: fix the readiness check
      in omap_musb_mailbox) made the check incorrect, as we will lose the
      glue/link status during the normal built-in probe order (twl4030_usb is
      probed after musb omap2430, but before musb core is ready).
      
      As a result, if you boot with USB cable on and load g_ether, the
      connection does not work as the code thinks the cable is off and the
      phy gets powered down immediately. This is a major regression in 3.9-rc1.
      
      So the proper check should be: exit if _glue is NULL, but if it's
      initialized we memorize the status, and then check if the musb core
      is ready.
      Signed-off-by: NAaro Koskinen <aaro.koskinen@iki.fi>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      f8c4b0e7
    • F
      usb: musb: fix compile warning · e574d570
      Felipe Balbi 提交于
      When running 100 randconfig iterations, I found
      the following warning:
      
      drivers/usb/musb/musb_core.c: In function ‘musb_init_controller’:
      drivers/usb/musb/musb_core.c:1981:1: warning: label ‘fail5’ defined \
      	but not used [-Wunused-label]
      
      this patch fixes it by removing the unnecessary
      ifdef CONFIG_SYSFS.
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      e574d570
    • F
      usb: musb: remove all 'select' from Kconfig · 341a71c7
      Felipe Balbi 提交于
      those are quite unnecessary, the only thing
      we need to be careful about is USB_OTG_UTILS
      which get properly selected by PHY drivers.
      
      For now, MUSB will select only USB_OTG_UTILS
      until we add stubs for the cases when PHY
      layer isn't enabled.
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      341a71c7
    • N
      usb: gadget: composite: fix kernel-doc warnings · 43febb27
      Nishanth Menon 提交于
      A few trivial fixes for composite driver:
      
      Warning(include/linux/usb/composite.h:165): No description found for parameter
      	'fs_descriptors'
      Warning(include/linux/usb/composite.h:165): Excess struct/union/enum/typedef
      	member 'descriptors' description in 'usb_function'
      Warning(include/linux/usb/composite.h:321): No description found for parameter
      	'gadget_driver'
      Warning(drivers/usb/gadget/composite.c:1777): Excess function parameter 'bind'
      	description in 'usb_composite_probe'
      
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Jiri Kosina <trivial@kernel.org>
      Cc: linux-usb@vger.kernel.org
      Cc: linux-kernel@vger.kernel.org
      Signed-off-by: NNishanth Menon <nm@ti.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      43febb27
    • A
      USB: EHCI: don't check DMA values in QH overlays · feca7746
      Alan Stern 提交于
      This patch (as1661) fixes a rather obscure bug in ehci-hcd.  In a
      couple of places, the driver compares the DMA address stored in a QH's
      overlay region with the address of a particular qTD, in order to see
      whether that qTD is the one currently being processed by the hardware.
      (If it is then the status in the QH's overlay region is more
      up-to-date than the status in the qTD, and if it isn't then the
      overlay's value needs to be adjusted when the QH is added back to the
      active schedule.)
      
      However, DMA address in the overlay region isn't always valid.  It
      sometimes will contain a stale value, which may happen by coincidence
      to be equal to a qTD's DMA address.  Instead of checking the DMA
      address, we should check whether the overlay region is active and
      valid.  The patch tests the ACTIVE bit in the overlay, and clears this
      bit when the overlay becomes invalid (which happens when the
      currently-executing URB is unlinked).
      
      This is the second part of a fix for the regression reported at:
      
      	https://bugs.launchpad.net/bugs/1088733Signed-off-by: NAlan Stern <stern@rowland.harvard.edu>
      Reported-by: NJoseph Salisbury <joseph.salisbury@canonical.com>
      Reported-and-tested-by: NStephen Thirlwall <sdt@dr.com>
      CC: <stable@vger.kernel.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      feca7746