1. 26 1月, 2018 1 次提交
    • D
      usb: ehci: mxs: fix swapped argument in ehci_writel() · 6f7c92db
      Daniel Schwierzeck 提交于
      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: NDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
      6f7c92db
  2. 29 9月, 2014 1 次提交
  3. 21 10月, 2013 1 次提交
  4. 24 7月, 2013 1 次提交
  5. 08 3月, 2013 2 次提交
  6. 16 10月, 2012 1 次提交
  7. 01 9月, 2012 3 次提交
  8. 27 3月, 2012 1 次提交
  9. 11 11月, 2011 1 次提交