diff options
author | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2018-01-25 20:43:58 +0100 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2018-01-25 20:59:20 +0100 |
commit | 6f7c92db4c7d1e45503fb10e60caa1ec2bb18d10 (patch) | |
tree | f5681ebff028a8f7dfea10e17842a4e4b991401a /drivers/video/ipu_common.c | |
parent | eacccbda431c4eff9073f2b4abfaba88524cd12f (diff) |
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>
Diffstat (limited to 'drivers/video/ipu_common.c')
0 files changed, 0 insertions, 0 deletions