1. 18 3月, 2013 7 次提交
  2. 25 1月, 2013 1 次提交
  3. 23 1月, 2013 1 次提交
  4. 18 1月, 2013 1 次提交
  5. 10 1月, 2013 1 次提交
  6. 13 12月, 2012 1 次提交
  7. 22 11月, 2012 3 次提交
  8. 07 9月, 2012 1 次提交
    • J
      usb: gadget: s3c-hsotg.c: fix error return code · c8e6507b
      Julia Lawall 提交于
      Convert a 0 error return code to a negative one, as returned elsewhere in the
      function.
      
      A simplified version of the semantic match that finds this problem is as
      follows: (http://coccinelle.lip6.fr/)
      
      // <smpl>
      @@
      identifier ret;
      expression e,e1,e2,e3,e4,x;
      @@
      
      (
      if (\(ret != 0\|ret < 0\) || ...) { ... return ...; }
      |
      ret = 0
      )
      ... when != ret = e1
      *x = \(kmalloc\|kzalloc\|kcalloc\|devm_kzalloc\|ioremap\|ioremap_nocache\|devm_ioremap\|devm_ioremap_nocache\)(...);
      ... when != x = e2
          when != ret = e3
      *if (x == NULL || ...)
      {
        ... when != ret = e4
      *  return ret;
      }
      // </smpl>
      Signed-off-by: NJulia Lawall <Julia.Lawall@lip6.fr>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      c8e6507b
  9. 03 9月, 2012 1 次提交
  10. 23 8月, 2012 1 次提交
    • D
      usb: gadget: s3c-hsotg: fix core reset timeout failure · 2868fea2
      Du, Changbin 提交于
      The timeout values were 1000 and timeout issue occured many times on my
      s3c6410 Soc based board (mostly when booting whith USB cable not
      connected). This patch increase the values to 10000 to guarantee the
      success of reset.
      
      Having set timeout to 10000, I printed the remained timeout values
      which could cause timeout issue before this change (tested several
      times).
      the first timeout value remained:
      	timeout = 8079
      	timeout = 8079
      	timeout = 8078
      	timeout = 8081
      the second timeout value remained:
      	timeout = 7940
      	timeout = 7945
      	timeout = 7940
      	timeout = 7938
      Seeing from above values, I think the value 10000 is big enough.
      Signed-off-by: NDu, Changbin <changbin.du@gmail.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      2868fea2
  11. 16 8月, 2012 1 次提交
  12. 02 7月, 2012 1 次提交
  13. 22 6月, 2012 1 次提交
  14. 15 6月, 2012 3 次提交
  15. 04 6月, 2012 1 次提交
  16. 10 5月, 2012 1 次提交
  17. 04 5月, 2012 14 次提交