linux-stable/drivers/usb/musb
Tony Lindgren d30323f810 usb: musb: dsps: fix build on i386 when COMPILE_TEST is set
Commit 3e457371f4 ("usb: musb: Fix fifo reads for dm816x with musb_dsps")
fixed a USB error on dm816x, but introduced a new build error on i386
when COMPILE_TEST is set:

drivers/usb/musb/musb_dsps.c: In function ‘dsps_read_fifo32’:
drivers/usb/musb/musb_dsps.c:624:3: error: implicit declaration of function
‘readsl’ [-Werror=implicit-function-declaration]
readsl(fifo, dst, len >> 2);

Let's fix this by using ioread32_rep() instead of readsl() as that's
more portable.

Fixes: 3e457371f4 ("usb: musb: Fix fifo reads for dm816x with musb_dsps")
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Cc: Bin Liu <binmlist@gmail.com>
Cc: Brian Hutchinson <b.hutchman@gmail.com>
Cc: George Cherian <george.cherian@ti.com>
Cc: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-04-03 19:09:53 +02:00
..
am35x.c usb: musb: Change end point selection to use new IO access 2014-11-25 08:47:06 -06:00
blackfin.c usb: musb: blackfin: remove incorrect __exit_p() 2015-02-02 13:04:55 -06:00
blackfin.h
cppi_dma.c usb: musb: dma: merge ->start/stop into create/destroy 2013-07-29 13:53:18 +03:00
cppi_dma.h
da8xx.c usb: musb: Pass fifo_mode in platform data 2014-11-25 08:47:07 -06:00
davinci.c usb: move the OTG state from the USB PHY to the OTG structure 2014-11-03 10:01:25 -06:00
davinci.h
jz4740.c usb: musb: Pass fifo_mode in platform data 2014-11-25 08:47:07 -06:00
Kconfig usb: musb: fix Kconfig regression 2015-03-09 10:44:35 -05:00
Makefile usb: musb: add support for JZ4740 usb device controller 2013-12-20 09:53:24 -06:00
musb_am335x.c usb: musb: Fix panic upon musb_am335x module removal 2014-06-27 10:53:06 -05:00
musb_core.c usb: musb: core: always try to recover from babble 2015-03-10 15:33:30 -05:00
musb_core.h usb: musb: core: drop recover_work 2015-03-10 15:33:29 -05:00
musb_cppi41.c usb: musb: cppi41: fix condition to call cppi41_trans_done(). 2015-03-11 11:34:37 -05:00
musb_debug.h
musb_debugfs.c Linux 3.19-rc5 2015-01-19 09:57:20 -06:00
musb_dma.h usb: musb: introduce dma_channel.rx_packet_done 2014-06-30 14:26:24 -05:00
musb_dsps.c usb: musb: dsps: fix build on i386 when COMPILE_TEST is set 2015-04-03 19:09:53 +02:00
musb_gadget.c usb: musb: gadget: get rid of stop_activity() 2015-03-09 10:38:48 -05:00
musb_gadget.h usb: musb: add Kconfig options for HOST, GAGDET or DUAL_ROLE modes 2013-05-28 19:22:23 +03:00
musb_gadget_ep0.c usb: musb: gadget: use common is_selfpowered 2015-01-29 10:35:43 -06:00
musb_host.c usb: musb: musb_host: Enable HCD_BH flag to handle urb return in bottom half 2015-02-23 00:04:52 -06:00
musb_host.h usb: musb: fix prototype for musb_port_reset 2013-12-20 15:05:43 -06:00
musb_io.h usb: musb: Change end point selection to use new IO access 2014-11-25 08:47:06 -06:00
musb_regs.h usb: musb: Use IS_ENABLED for tusb6010 2014-11-25 08:47:07 -06:00
musb_virthub.c musb_virthub: use USB_DT_HUB 2015-04-03 19:03:16 +02:00
musbhsdma.c usb: musb: Change end point selection to use new IO access 2014-11-25 08:47:06 -06:00
musbhsdma.h
omap2430.c usb: musb: Fix use for of_property_read_bool for disabled multipoint 2015-02-23 09:14:30 -06:00
omap2430.h usb: start using the control module driver 2013-01-25 12:27:24 +02:00
tusb6010.c usb: musb: Change end point selection to use new IO access 2014-11-25 08:47:06 -06:00
tusb6010.h usb: musb: tusb6010: Use musb->tusb_revision instead of tusb_get_revision call. 2014-05-16 12:16:31 -05:00
tusb6010_omap.c usb: musb: tusb6010: Use musb->tusb_revision instead of tusb_get_revision call. 2014-05-16 12:16:31 -05:00
ux500.c usb: musb: Pass fifo_mode in platform data 2014-11-25 08:47:07 -06:00
ux500_dma.c usb: musb: Change to use new IO access 2014-11-25 08:47:06 -06:00