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
..
2017-06-01 07:03:01 -06:00
2017-06-01 07:03:01 -06:00
2016-04-01 17:18:10 -04:00
2016-04-01 17:18:10 -04:00
2017-06-01 07:03:01 -06:00
2017-06-01 07:03:01 -06:00
2016-10-23 18:33:18 -04:00
2017-07-03 17:35:28 -04:00
2017-06-01 07:03:01 -06:00
2009-04-06 20:40:46 +02:00
2017-06-01 07:03:01 -06:00
2017-11-16 11:45:20 +01:00
2017-10-01 16:32:54 +02:00