1. 29 5月, 2015 1 次提交
  2. 28 5月, 2015 5 次提交
    • A
      usb: phy: add static inline wrapper for devm_usb_get_phy_by_node · 307c858b
      Arnd Bergmann 提交于
      The newly introduced devm_usb_get_phy_by_node function only has
      an extern declaration, but no alternative for the case that
      CONFIG_USB_PHY is disabled, which leads to a build error when
      it is used anyway:
      
      drivers/power/twl4030_charger.c: In function 'twl4030_bci_probe':
      drivers/power/twl4030_charger.c:648:23: error: implicit declaration of function 'devm_usb_get_phy_by_node' [-Werror=implicit-function-declaration]
          bci->transceiver = devm_usb_get_phy_by_node(
      
      This adds the wrapper in the same way that we have one for
      all other usb-phy API functions.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Fixes: e842b84c ("usb: phy: Add interface to get phy give of device_node.")
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      307c858b
    • 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
    • F
      usb: musb: ux500: fix build warnings · 30d09223
      Felipe Balbi 提交于
      This patch fixes the following build warnings:
      
      drivers/usb/musb/ux500.c:346:12: warning: ‘ux500_suspend’ defined but
      not used [-Wunused-function]
      drivers/usb/musb/ux500.c:357:12: warning: ‘ux500_resume’ defined but not
      used [-Wunused-function]
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      30d09223
    • F
      usb: musb: am35x: fix build warnings · fea2fc6e
      Felipe Balbi 提交于
      This patch fixes the following build warnings:
      
      drivers/usb/musb/am35x.c:573:12: warning: ‘am35x_suspend’ defined but
      not used [-Wunused-function]
      drivers/usb/musb/am35x.c:589:12: warning: ‘am35x_resume’ defined but not
      used [-Wunused-function]
      drivers/usb/musb/am35x.c:573:12: warning: ‘am35x_suspend’ defined but
      not used [-Wunused-function]
      drivers/usb/musb/am35x.c:589:12: warning: ‘am35x_resume’ defined but not
      used [-Wunused-function]
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      fea2fc6e
    • H
      phy: sun4i-usb: Add a sunxi specific function for setting squelch-detect · 24fe86a6
      Hans de Goede 提交于
      The sunxi otg phy has a bug where it wrongly detects a high speed squelch
      when reset on the root port gets de-asserted with a lo-speed device.
      
      The workaround for this is to disable squelch detect before de-asserting
      reset, and re-enabling it after the reset de-assert is done. Add a sunxi
      specific phy function to allow the sunxi-musb glue to do this.
      Acked-by: NKishon Vijay Abraham I <kishon@ti.com>
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      24fe86a6
  3. 27 5月, 2015 1 次提交
  4. 26 5月, 2015 22 次提交
  5. 22 5月, 2015 4 次提交
  6. 14 5月, 2015 7 次提交