]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
usb: musb: fix Blackfin DMA register padding
authorCliff Cai <cliff.cai@analog.com>
Tue, 19 Jan 2010 05:10:42 +0000 (00:10 -0500)
committerRemy Bohmer <linux@bohmer.net>
Wed, 3 Feb 2010 21:06:59 +0000 (22:06 +0100)
The conversion from offsets to C structs lost a little padding in the DMA
register map.  Accessing endpoints other than ep0 with DMA would fail as
the addresses wouldn't be adjusted correctly.

Signed-off-by: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
drivers/usb/musb/blackfin_usb.h

index ab26ca2d51206a3dee8abcc7d102a4ca19dc9f3e..de994bf3361034921dc31788cae508a70b2689de 100644 (file)
@@ -82,7 +82,7 @@ struct bfin_musb_dma_regs {
        ureg(addr_high);
        ureg(count_low);
        ureg(count_high);
-       ureg(pad);
+       u32 reserved0[2];
 };
 
 #undef ureg