1. 03 Apr, 2013 11 commits
  2. 02 Apr, 2013 21 commits
  3. 27 Mar, 2013 8 commits
    • Felipe Balbi's avatar
      usb: musb: ux500_dma: fix sparse warning · 6b0cfc65
      Felipe Balbi authored
      fix the following sparse warning:
      
      drivers/usb/musb/ux500_dma.c:60:6: warning: symbol 'ux500_dma_callback' was not declared. Should it be static?
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      6b0cfc65
    • Felipe Balbi's avatar
      usb: gadget: mv_u3d: fix sparse warnings · 6fbb2f7d
      Felipe Balbi authored
      fix the following sparse warnings:
      
      drivers/usb/gadget/mv_u3d_core.c:223:20: warning: context imbalance in 'mv_u3d_done' - unexpected unlock
      drivers/usb/gadget/mv_u3d_core.c:1562:25: warning: context imbalance in 'mv_u3d_handle_setup_packet' - unexpected unlock
      
      Note that the non-trivial sparse warnings
      are left out of this commit due to lack of
      HW to test:
      
      drivers/usb/gadget/mv_u3d_core.c:906:42: warning: incorrect type in argument 2 (different address spaces)
      drivers/usb/gadget/mv_u3d_core.c:906:42:    expected void [noderef] <asn:2>*<noident>
      drivers/usb/gadget/mv_u3d_core.c:906:42:    got unsigned int *<noident>
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      6fbb2f7d
    • Felipe Balbi's avatar
      usb: gadget: mv_udc_core: fix sparse warnings · 94a06018
      Felipe Balbi authored
      fix the following sparse warnings:
      
      drivers/usb/gadget/mv_udc_core.c:1850:6: warning: symbol 'irq_process_reset' was not declared. Should it be static?
      drivers/usb/gadget/mv_udc_core.c:247:9: warning: context imbalance in 'done' - unexpected unlock
      drivers/usb/gadget/mv_udc_core.c:1692:25: warning: context imbalance in 'handle_setup_packet' - unexpected unlock
      
      Note that there are still other sparse warnings
      which aren't trivial to fix, so I left them out:
      
      drivers/usb/gadget/mv_udc_core.c:848:34: warning: incorrect type in argument 1 (different address spaces)
      drivers/usb/gadget/mv_udc_core.c:848:34:    expected void const volatile [noderef] <asn:2>*addr
      drivers/usb/gadget/mv_udc_core.c:848:34:    got unsigned int *<noident>
      drivers/usb/gadget/mv_udc_core.c:849:42: warning: incorrect type in argument 2 (different address spaces)
      drivers/usb/gadget/mv_udc_core.c:849:42:    expected void volatile [noderef] <asn:2>*addr
      drivers/usb/gadget/mv_udc_core.c:849:42:    got unsigned int *<noident>
      Acked-by: default avatarNeil Zhang <zhangwm@marvell.com>
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      94a06018
    • Felipe Balbi's avatar
      usb: gadget: pch_udc: fix sparse warnings · 3f8b6201
      Felipe Balbi authored
      fix the following sparse warnings:
      
      drivers/usb/gadget/pch_udc.c:1483:9: warning: context imbalance in 'complete_req' - unexpected unlock
      drivers/usb/gadget/pch_udc.c:2408:28: warning: context imbalance in 'pch_udc_svc_control_out' - unexpected unlock
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      3f8b6201
    • Felipe Balbi's avatar
      usb: gadget: dummy: fix sparse warning · 814cf212
      Felipe Balbi authored
      fix the following sparse warning:
      
      drivers/usb/gadget/dummy_hcd.c:1912:12: warning: symbol 'usb3_bos_desc' was not declared. Should it be static?
      Acked-by: default avatarMichal Nazarewicz <mina86@mina86.com>
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      814cf212
    • Felipe Balbi's avatar
      usb: gadget: net2280: fix sparse warnings · ad303db6
      Felipe Balbi authored
      fix the following sparse warnings:
      
      drivers/usb/gadget/net2280.c:2063:13: warning: Using plain integer as NULL pointer
      drivers/usb/gadget/net2280.c:2321:68: warning: Using plain integer as NULL pointer
      drivers/usb/gadget/net2280.c:2349:68: warning: Using plain integer as NULL pointer
      drivers/usb/gadget/net2280.c:2371:68: warning: Using plain integer as NULL pointer
      Acked-by: default avatarMichal Nazarewicz <mina86@mina86.com>
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      ad303db6
    • Felipe Balbi's avatar
      usb: gadget: net2272: fix sparse warnings · 69147121
      Felipe Balbi authored
      Fix the following sparse warnings:
      
      drivers/usb/gadget/net2272.c:916:13: warning: Using plain integer as NULL pointer
      drivers/usb/gadget/net2272.c:1624:9: warning: Using plain integer as NULL pointer
      drivers/usb/gadget/net2272.c:1552:30: warning: right shift by bigger than source value
      
      Note that the last warning is an actual bug,
      since ep->dma is a one bit value which is
      shifted by one bit in code.
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      69147121
    • Felipe Balbi's avatar
      usb: gadget: mv_u3d: drop ARCH dependency · 60630c2e
      Felipe Balbi authored
      this driver compiles fine everywhere which
      means we can use linux-next to compile it
      for us frequently.
      
      By dropping the arch dependency, we also
      ensure driver writers don't add virtual
      arch-depdencies to the driver by e.g. using
      the wrong headers.
      
      While at that, fix Marvell's USB3 PHY dependency,
      that's the driver which depends on CPU_MM3, not
      mv_u3d_core.
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      60630c2e