1. 30 3月, 2013 11 次提交
  2. 16 3月, 2013 1 次提交
  3. 04 3月, 2013 1 次提交
  4. 19 2月, 2013 1 次提交
  5. 30 1月, 2013 1 次提交
  6. 23 1月, 2013 1 次提交
  7. 22 1月, 2013 1 次提交
    • J
      drivers/usb/chipidea/core.c: adjust duplicate test · 5c6e9bf0
      Julia Lawall 提交于
      Delete successive tests to the same location.  In this case res has already
      been tested for being NULL, and calling devm_request_and_ioremap will not
      make it NULL.  On the other hand, devm_request_and_ioremap can return NULL
      on failure.
      
      A simplified version of the semantic match that finds this problem is as
      follows: (http://coccinelle.lip6.fr/)
      
      // <smpl>
      @s exists@
      local idexpression y;
      expression x,e;
      @@
      
      *if ( \(x == NULL\|IS_ERR(x)\|y != 0\) )
       { ... when forall
         return ...; }
      ... when != \(y = e\|y += e\|y -= e\|y |= e\|y &= e\|y++\|y--\|&y\)
          when != \(XT_GETPAGE(...,y)\|WMI_CMD_BUF(...)\)
      *if ( \(x == NULL\|IS_ERR(x)\|y != 0\) )
       { ... when forall
         return ...; }
      // </smpl>
      Signed-off-by: NJulia Lawall <Julia.Lawall@lip6.fr>
      Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      5c6e9bf0
  8. 12 1月, 2013 1 次提交
    • F
      usb: chipidea: Allow disabling streaming not only in udc mode · 929473ea
      Fabio Estevam 提交于
      When running a scp transfer using a USB/Ethernet adapter the following crash
      happens:
      
      $ scp test.tar.gz fabio@192.168.1.100:/home/fabio
      fabio@192.168.1.100's password:
      test.tar.gz                                      0%    0     0.0KB/s   --:-- ETA
      ------------[ cut here ]------------
      WARNING: at net/sched/sch_generic.c:255 dev_watchdog+0x2cc/0x2f0()
      NETDEV WATCHDOG: eth0 (asix): transmit queue 0 timed out
      Modules linked in:
      Backtrace:
      [<80011c94>] (dump_backtrace+0x0/0x10c) from [<804d3a5c>] (dump_stack+0x18/0x1c)
       r6:000000ff r5:80412388 r4:80685dc0 r3:80696cc0
      [<804d3a44>] (dump_stack+0x0/0x1c) from [<80021868>]
      (warn_slowpath_common+0x54/0x6c)
      [<80021814>] (warn_slowpath_common+0x0/0x6c) from [<80021924>]
      (warn_slowpath_fmt+0x38/0x40)
      ...
      
      Setting SDIS (Stream Disable Mode- bit 4 of USBMODE register) fixes the problem.
      
      However, in current code CI13XXX_DISABLE_STREAMING flag is only set in udc mode,
      so allow disabling streaming also in host mode.
      
      Tested on a mx6qsabrelite board.
      Suggested-by: NPeter Chen <peter.chen@freescale.com>
      Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com>
      Reviewed-by: NPeter Chen <peter.chen@freescale.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      929473ea
  9. 27 11月, 2012 1 次提交
  10. 22 11月, 2012 4 次提交
  11. 12 11月, 2012 1 次提交
  12. 08 11月, 2012 1 次提交
    • M
      usb: gadget: Remove reference to is_dualspeed from sysfs. · be44f1c8
      Michal Nazarewicz 提交于
      This commit removes the /sys/devices/platform/<UDC>/udc/<UDC>/is_dualspeed
      file and is_dualspeeed line from /sys/devices/platform/ci13xxx_*/udc/device
      file.
      
      The is_dualspeed file is superseded by maximum_speed in the same directory
      and is_dualspeed line in device file is superseded by max_speed line in
      the same file.
      
      The maximum_speed/max_speed specifies maximum speed supported by UDC.
      To check if dualspeeed is supported, check if the value is >= 3.
      Signed-off-by: NMichal Nazarewicz <mina86@mina86.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      be44f1c8
  13. 04 11月, 2012 1 次提交
  14. 03 11月, 2012 1 次提交
  15. 01 11月, 2012 1 次提交
    • A
      USB: EHCI: remove ehci_port_power() routine · c73cee71
      Alan Stern 提交于
      This patch (as1623) removes the ehci_port_power() routine and all the
      places that call it.  There's no reason for ehci-hcd to change the
      port power settings; the hub driver takes care of all that stuff.
      
      There is one exception: When the controller is resumed from
      hibernation or following a loss of power, the ports that are supposed
      to be handed over to a companion controller must be powered on first.
      Otherwise the handover won't work.  This process is not visible to the
      hub driver, so it has to be handled in ehci-hcd.
      Signed-off-by: NAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      c73cee71
  16. 13 9月, 2012 12 次提交