u-boot/drivers/usb
Daniel Schwierzeck 6f7c92db4c usb: ehci: mxs: fix swapped argument in ehci_writel()
ehci_writel() swaps the arguments for address and value. One call
in ehci-mxs ignores that.

This fixes the warning:

drivers/usb/host/ehci-mxs.c: In function ?ehci_hcd_stop?:
drivers/usb/host/ehci-mxs.c:159:19: error: initialization makes integer from pointer without a cast [-Werror=int-conversion]
  ehci_writel(tmp, &hcor->or_usbcmd);
                   ^
arch/arm/include/asm/io.h:117:34: note: in definition of macro ?writel?
 #define writel(v,c) ({ u32 __v = v; __iowmb(); __arch_putl(__v,c); __v; })
                                  ^
drivers/usb/host/ehci-mxs.c:159:2: note: in expansion of macro ?ehci_writel?
  ^~~~~~~~~~~

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
2018-01-25 20:59:20 +01:00
..
common armv8: ls1043a/ls2080a: check SoC by device ID 2017-12-13 13:40:29 -08:00
dwc3 usb: dwc3-uniphier: replace <common.h> with <linux/bitops.h> 2017-10-15 22:32:24 +09:00
emul dm: usb: emul: Drop usb_emul_reset() 2017-10-01 16:32:51 +02:00
eth treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
gadget usb: rockchip: add the rockusb gadget 2018-01-10 11:11:05 +01:00
host usb: ehci: mxs: fix swapped argument in ehci_writel() 2018-01-25 20:59:20 +01:00
musb Convert CONFIG_USB_MUSB_HCD et al to Kconfig 2018-01-22 16:43:29 -05:00
musb-new Convert CONFIG_USB_MUSB_OMAP2PLUS et al to Kconfig 2018-01-22 16:43:29 -05:00
phy Convert CONFIG_ROCKCHIP_USB2_PHY to Kconfig 2018-01-22 16:43:30 -05:00
ulpi usb: ulpi: Fix compile warning in read/write on 64-bit machines. 2016-04-01 17:18:09 -04:00
Kconfig Convert CONFIG_TWL4030_USB to Kconfig 2018-01-22 16:43:30 -05:00