1. Apr 28, 2017
  2. Apr 27, 2017
    • Arnd Bergmann's avatar
      usb: host: xhci: remove #ifdef around PM functions · d852ed98
      Arnd Bergmann authored
      The #ifdef is slightly wrong as it doesn't cover the xhci_priv_resume_quirk()
      function, causing a harmless warning:
      
      drivers/usb/host/xhci-plat.c:58:12: error: 'xhci_priv_resume_quirk' defined but not used [-Werror=unused-function]
       static int xhci_priv_resume_quirk(struct usb_hcd *hcd)
      
      A simpler way to do this correctly is to use __maybe_unused annotations
      that let the compiler silently drop the functions when there is no
      reference.
      
      Fixes: b0c69b4b
      
       ("usb: host: plat: Enable xHCI plat runtime PM")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      d852ed98
  3. Apr 26, 2017
  4. Apr 20, 2017
  5. Apr 19, 2017
  6. Apr 18, 2017
  7. Apr 14, 2017
    • Peter Chen's avatar
      usb: chipidea: core: add sysfs group · a932a804
      Peter Chen authored
      
      
      Sometimes, the user needs to adjust some properties for controllers, eg
      the role for controller, we add sysfs group for them.
      
      The attribute 'role' is used to switch host/gadget role dynamically, the
      uewr can read the current role, and write the other role compare to
      current one to finish the switch.
      
      Signed-off-by: default avatarPeter Chen <peter.chen@nxp.com>
      a932a804
  8. Apr 11, 2017