1. 15 2月, 2016 2 次提交
    • V
      usb: add HAS_IOMEM dependency to USB_XHCI_MVEBU · 828638e9
      Vegard Nossum 提交于
      drivers/usb/host/xhci-mvebu.c: In function ‘xhci_mvebu_mbus_init_quirk’:
      drivers/usb/host/xhci-mvebu.c:58:2: error: implicit declaration of function ‘ioremap’ [-Werror=implicit-function-declaration]
        base = ioremap(res->start, resource_size(res));
        ^
      drivers/usb/host/xhci-mvebu.c:58:7: warning: assignment makes pointer from integer without a cast [enabled by default]
        base = ioremap(res->start, resource_size(res));
             ^
      drivers/usb/host/xhci-mvebu.c:69:2: error: implicit declaration of function ‘iounmap’ [-Werror=implicit-function-declaration]
        iounmap(base);
        ^
      Signed-off-by: NVegard Nossum <vegard.nossum@oracle.com>
      Acked-by: NGregory CLEMENT <gregory.clement@free-electrons.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      828638e9
    • V
      usb: add HAS_IOMEM dependency to USB_ISP116X_HCD · ca23d3b7
      Vegard Nossum 提交于
      drivers/usb/host/isp116x-hcd.c: In function ‘isp116x_remove’:
      drivers/usb/host/isp116x-hcd.c:1552:2: error: implicit declaration of function ‘iounmap’ [-Werror=implicit-function-declaration]
        iounmap(isp116x->data_reg);
        ^
      drivers/usb/host/isp116x-hcd.c: In function ‘isp116x_probe’:
      drivers/usb/host/isp116x-hcd.c:1604:2: error: implicit declaration of function ‘ioremap’ [-Werror=implicit-function-declaration]
        addr_reg = ioremap(addr->start, resource_size(addr));
        ^
      drivers/usb/host/isp116x-hcd.c:1604:11: warning: assignment makes pointer from integer without a cast [enabled by default]
        addr_reg = ioremap(addr->start, resource_size(addr));
                 ^
      drivers/usb/host/isp116x-hcd.c:1613:11: warning: assignment makes pointer from integer without a cast [enabled by default]
        data_reg = ioremap(data->start, resource_size(data));
                 ^
      Signed-off-by: NVegard Nossum <vegard.nossum@oracle.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      ca23d3b7
  2. 02 12月, 2015 1 次提交
  3. 24 11月, 2015 1 次提交
  4. 17 10月, 2015 1 次提交
  5. 15 8月, 2015 1 次提交
  6. 09 8月, 2015 1 次提交
  7. 22 6月, 2015 1 次提交
    • B
      MIPS: Octeon: Set OHCI and EHCI MMIO byte order to match CPU · df115f3e
      Ben Hutchings 提交于
      The Octeon OHCI is now supported by the ohci-platform driver, and
      USB_OCTEON_OHCI is marked as deprecated.  However, it is currently
      still necessary to enable it in order to select
      USB_OHCI_BIG_ENDIAN_MMIO.  Make CPU_CAVIUM_OCTEON select that as well,
      so that USB_OCTEON_OHCI is really obsolete.
      
      The old ohci-octeon and ehci-octeon drivers also only enabled big-endian
      MMIO in case the CPU was big-endian.  Make the selections of
      USB_EHCI_BIG_ENDIAN_MMIO and USB_OHCI_BIG_ENDIAN_MMIO conditional, to
      match this.
      
      Fixes: 2193dda5 ("USB: host: Remove ehci-octeon and ohci-octeon drivers")
      Signed-off-by: NBen Hutchings <ben@decadent.org.uk>
      Cc: Alan Stern <stern@rowland.harvard.edu>
      Cc: linux-mips@linux-mips.org
      Cc: David Daney <david.daney@cavium.com>
      Cc: Chandrakala Chavva <cchavva@caviumnetworks.com>
      Cc: Paul Martin <paul.martin@codethink.co.uk>
      Patchwork: https://patchwork.linux-mips.org/patch/10178/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      df115f3e
  8. 25 5月, 2015 1 次提交
  9. 19 3月, 2015 1 次提交
  10. 04 2月, 2015 1 次提交
  11. 27 1月, 2015 1 次提交
  12. 26 11月, 2014 1 次提交
  13. 04 11月, 2014 2 次提交
  14. 04 10月, 2014 1 次提交
  15. 29 9月, 2014 1 次提交
  16. 26 9月, 2014 1 次提交
  17. 24 9月, 2014 2 次提交
  18. 10 7月, 2014 1 次提交
  19. 01 7月, 2014 1 次提交
  20. 28 5月, 2014 4 次提交
  21. 14 5月, 2014 1 次提交
    • A
      usb: phy: msm: reset controller is mandatory now · c5ab571f
      Arnd Bergmann 提交于
      Commit a2734543 "usb: phy: msm: Use reset framework for LINK
      and PHY resets" introduced a mandatory call to reset_control_get
      into the msm usb phy driver, which means we have to add a Kconfig
      dependency on the API to avoid this build error:
      
      phy/phy-msm-usb.c: In function 'msm_otg_read_dt':
      phy/phy-msm-usb.c:1461:2: error: implicit declaration of function 'devm_reset_control_get' [-Werror=implicit-function-declaration]
        motg->link_rst = devm_reset_control_get(&pdev->dev, "link");
        ^
      
      Since the usb-ehci-msm driver currently selects the OTG driver,
      we could still get a broken dependency here. To solve that,
      this patch also removes the 'select', which turns out to be
      unnecessary.
      Reviewed-by: NIvan T. Ivanov <iivanov@mm-sol.com>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      c5ab571f
  22. 20 2月, 2014 1 次提交
  23. 12 2月, 2014 2 次提交
    • P
      USB: ELAN: Remove useless "default M" lines · ea17c7c6
      Paul Bolle 提交于
      The Kconfig entries for USB_U132_HCD and USB_FTDI_ELAN default to
      (uppercase) "M". But in Kconfig (lowercase) "m" is a magic symbol. "M"
      is an ordinary symbol. As "M" is never set these Kconfig symbols will
      also not be set by default.
      
      Since I'm not aware of a reason why these driver should be set by
      default, let's just drop these lines (that basically do nothing).
      Signed-off-by: NPaul Bolle <pebolle@tiscali.nl>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      ea17c7c6
    • H
      ehci-platform: Change compatible string from usb-ehci to generic-ehci · 915974c3
      Hans de Goede 提交于
      The initial versions of the devicetree enablement patches for ehci-platform
      used "ehci-platform" as compatible string. However this was disliked by various
      reviewers because the platform bus is a Linux invention and devicetree is
      supposed to be OS agnostic. After much discussion I gave up, added a:
      "depends on !PPC_OF" to Kconfig to avoid a known conflict with PPC-OF platforms
      and went with the generic usb-ehci as requested.
      
      In retro-spect I should have chosen something different, the dts files for many
      existing boards already claim to be compatible with "usb-ehci", ie they have:
      
      	compatible = "ti,ehci-omap", "usb-ehci";
      
      In theory this should not be a problem since the "ti,ehci-omap" entry takes
      presedence, but in practice using a conflicting compatible string is an issue,
      because it makes which driver gets used depend on driver registration order.
      
      This patch changes the compatible string claimed by ehci-platform to
      "generic-ehci", avoiding the driver registration / module loading ordering
      problems, and removes the "depends on !PPC_OF" workaround.
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      Acked-by: NAlan Stern <stern@rowland.harvard.edu>
      Tested-by: NKevin Hilman <khilman@linaro.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      915974c3
  24. 08 2月, 2014 1 次提交
    • H
      ehci-platform: Add support for clks and phy passed through devicetree · a4aeb211
      Hans de Goede 提交于
      Currently ehci-platform is only used in combination with devicetree when used
      with some Via socs. By extending it to (optionally) get clks and a phy from
      devicetree, and enabling / disabling those on power_on / off, it can be used
      more generically. Specifically after this commit it can be used for the
      ehci controller on Allwinner sunxi SoCs.
      
      Since ehci-platform is intended to handle any generic enough non pci ehci
      device, add a "usb-ehci" compatibility string.
      
      There already is a usb-ehci device-tree bindings document, update this
      with clks and phy bindings info.
      
      Although actually quite generic so far the via,vt8500 compatibilty string
      had its own bindings document. Somehow we even ended up with 2 of them. Since
      these provide no extra information over the generic usb-ehci documentation,
      this patch removes them.
      
      The ehci-ppc-of.c driver also claims the usb-ehci compatibility string,
      even though it mostly is ibm,usb-ehci-440epx specific. ehci-platform.c is
      not needed on ppc platforms, so add a !PPC_OF dependency to it to avoid
      2 drivers claiming the same compatibility string getting build on ppc.
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      Acked-by: NAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      a4aeb211
  25. 30 10月, 2013 1 次提交
  26. 12 10月, 2013 1 次提交
  27. 27 9月, 2013 7 次提交