1. 31 7月, 2015 5 次提交
  2. 29 7月, 2015 2 次提交
  3. 21 7月, 2015 2 次提交
  4. 07 7月, 2015 1 次提交
  5. 28 5月, 2015 1 次提交
    • F
      usb: gadget: atmel: fix build warnings · 94a715ed
      Felipe Balbi 提交于
      This patch fixes the following build warnings:
      
      drivers/usb/gadget/udc/atmel_usba_udc.c:2207:12: warning:
      ‘usba_udc_suspend’ defined but not used [-Wunused-function] static int
      usba_udc_suspend(struct device *dev)
      drivers/usb/gadget/udc/atmel_usba_udc.c:2236:12: warning:
      ‘usba_udc_resume’ defined but not used [-Wunused-function] static int
      usba_udc_resume(struct device *dev)
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      94a715ed
  6. 27 5月, 2015 1 次提交
  7. 26 5月, 2015 10 次提交
  8. 08 5月, 2015 1 次提交
  9. 28 4月, 2015 2 次提交
    • A
      usb: gadget: remove incorrect __init/__exit annotations · c94e289f
      Arnd Bergmann 提交于
      A recent change introduced a link error for the composite
      printer gadget driver:
      
      `printer_unbind' referenced in section `.ref.data' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o
      
      Evidently the unbind function should not be marked __exit here,
      because it is called through a callback pointer that is not necessarily
      discarded, __composite_unbind() is indeed called from the error path of
      composite_bind(), which can never work for a built-in driver.
      
      Looking at the surrounding code, I found the same problem in all other
      composite gadget drivers in both the bind and unbind functions, as
      well as the udc platform driver 'remove' functions. Those will break
      if anyone uses the 'unbind' sysfs attribute to detach a device from a
      built-in driver.
      
      This patch removes the incorrect annotations from all the gadget
      drivers.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      c94e289f
    • V
      usb: gadget: xilinx: fix devm_ioremap_resource() check · 49bce159
      Vladimir Zapolskiy 提交于
      devm_ioremap_resource() returns IOMEM_ERR_PTR() and it never
      returns NULL, fix the check to prevent access to invalid
      virtual address.
      Signed-off-by: NVladimir Zapolskiy <vz@mleia.com>
      Reviewed-by: NSören Brinkmann <soren.brinkmann@xilinx.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      49bce159
  10. 04 4月, 2015 1 次提交
  11. 20 3月, 2015 5 次提交
  12. 19 3月, 2015 1 次提交
  13. 12 3月, 2015 1 次提交
  14. 11 3月, 2015 7 次提交