From: Tony Lindgren Date: Fri, 20 Mar 2015 00:10:16 +0000 (-0700) Subject: usb: musb: Fix fifo reads for dm816x with musb_dsps X-Git-Tag: omap-for-v4.2/o2_dc~157^2~55^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e457371f436;p=pandora-kernel.git usb: musb: Fix fifo reads for dm816x with musb_dsps Looks like dm81xx can only do 32-bit fifo reads like am35x. Let's set up musb-dsps with a custom read_fifo function based on the compatible flag. Otherwise we can get the following errors when starting dhclient on a asix USB Ethernet adapter: asix 2-1:1.0 eth2: asix_rx_fixup() Bad Header Length 0xffff003c, offset 4 While at it, let's also remove pointless cast of the driver data. Cc: Bin Liu Cc: Brian Hutchinson Cc: George Cherian Cc: Sergei Shtylyov Signed-off-by: Tony Lindgren Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed