1. 29 7月, 2013 4 次提交
  2. 29 5月, 2013 8 次提交
  3. 22 3月, 2013 2 次提交
  4. 18 3月, 2013 3 次提交
  5. 12 3月, 2013 1 次提交
  6. 05 3月, 2013 1 次提交
    • 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
  7. 17 1月, 2013 1 次提交
  8. 18 12月, 2012 1 次提交
  9. 13 12月, 2012 1 次提交
  10. 22 11月, 2012 4 次提交
  11. 06 11月, 2012 1 次提交
    • P
      usb: musb: remove generic_interrupt · baef653a
      Philippe De Swert 提交于
      This patch is based on the discussion of a previous patch to fix an issue
      where the omap2430 musb driver is not working for N9/N950.
      
      Moving all the interrupt handling to the devices. Avoids inclusion of generic
      interrupt and breakage due to sometimes misleading CONFIG options. This makes
      sure usb always works if on of the subdrivers is chosen. Tested on Nokia N9/N950.
      
      Partially clean up CONFIG_SOC_OMAP3430 which is not necessary in the cases
      where I removed it. Also helps with the removal work of those options that
      Tony Lindgren predicted would happen at some point.
      Signed-off-by: NPhilippe De Swert <philippe.deswert@jollamobile.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      baef653a
  12. 01 11月, 2012 1 次提交
    • S
      usb: musb: remove hand-crafted id handling · 2f771164
      Sebastian Andrzej Siewior 提交于
      This replaced the handcrafted id handling by the PLATFORM_DEVID_AUTO
      value which should do the same thing.
      
      This patch probably also fixes ux500 because I did not find the "musbid"
      variable to remove. And we close a tiny-unlikely race window becuase the
      old code gave the id back before device was destroyed in the remove
      case.
      
      [ balbi@ti.com : fixed up two failed hunks when applying patch ]
      
      Cc: B, Ravi <ravibabu@ti.com>
      Cc: Santhapuri, Damodar <damodar.santhapuri@ti.com>
      Cc: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
      Cc: Bob Liu <lliubbo@gmail.com>
      Signed-off-by: NSebastian Andrzej Siewior <bigeasy@linutronix.de>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      2f771164
  13. 31 10月, 2012 3 次提交
  14. 11 9月, 2012 2 次提交
  15. 31 8月, 2012 1 次提交
  16. 09 8月, 2012 3 次提交
  17. 07 8月, 2012 2 次提交
    • B
      usb: musb: Fix bad call to kfree() in musb_free · decadacb
      Brian Downing 提交于
      Commit 62285963 (usb: musb: drop a
      gigantic amount of ifdeferry) included this change:
      
          @@ -1901,11 +1844,7 @@ static void musb_free(struct musb *musb)
                          dma_controller_destroy(c);
                  }
      
          -#ifdef CONFIG_USB_MUSB_HDRC_HCD
          -       usb_put_hcd(musb_to_hcd(musb));
          -#else
                  kfree(musb);
          -#endif
           }
      
           /*
      
      Since musb comes from struct usb_hcd's hcd_priv, which is allocated on
      the end of that struct, kfree'ing it is not going to work.  Replace
      kfree(musb) with usb_put_hcd(musb_to_hcd(musb)), which appears to be
      the right thing to do here.
      Signed-off-by: NBrian Downing <bdowning@lavos.net>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      decadacb
    • F
      usb: musb: fix sparse warnings · a156544b
      Felipe Balbi 提交于
      The following warnings are fixed:
      
      drivers/usb/musb/musb_core.c:357:6: warning: symbol 'musb_otg_timer_func' was not declared. Should it be static?
      drivers/usb/musb/musb_core.c:1339:27: warning: incorrect type in initializer (different address spaces)
      drivers/usb/musb/musb_core.c:1339:27:    expected void *mbase
      drivers/usb/musb/musb_core.c:1339:27:    got void [noderef] <asn:2>*mregs
      drivers/usb/musb/musb_core.c:1347:17: warning: incorrect type in argument 1 (different address spaces)
      drivers/usb/musb/musb_core.c:1347:17:    expected void [noderef] <asn:2>*addr
      drivers/usb/musb/musb_core.c:1347:17:    got void *mbase
      drivers/usb/musb/musb_core.h:487:27: warning: incorrect type in initializer (different address spaces)
      drivers/usb/musb/musb_core.h:487:27:    expected void *mbase
      drivers/usb/musb/musb_core.h:487:27:    got void [noderef] <asn:2>*mregs
      drivers/usb/musb/musb_core.h:491:26: warning: incorrect type in argument 1 (different address spaces)
      drivers/usb/musb/musb_core.h:491:26:    expected void const [noderef] <asn:2>*addr
      drivers/usb/musb/musb_core.h:491:26:    got void *mbase
      drivers/usb/musb/tusb6010.c:270:48: warning: incorrect type in argument 2 (different address spaces)
      drivers/usb/musb/tusb6010.c:270:48:    expected void [noderef] <asn:2>*buf
      drivers/usb/musb/tusb6010.c:270:48:    got unsigned char [usertype] *[assigned] buf
      drivers/usb/musb/tusb6010.c:164:32: warning: incorrect type in argument 1 (different address spaces)
      drivers/usb/musb/tusb6010.c:164:32:    expected void *to
      drivers/usb/musb/tusb6010.c:164:32:    got void [noderef] <asn:2>*buf
      drivers/usb/musb/tusb6010.c:172:24: warning: incorrect type in argument 1 (different address spaces)
      drivers/usb/musb/tusb6010.c:172:24:    expected void *to
      drivers/usb/musb/tusb6010.c:172:24:    got void [noderef] <asn:2>*[assigned] buf
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      a156544b
  18. 03 8月, 2012 1 次提交