Explorar o código

usb: musb: fix Blackfin DMA register padding

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>
Cliff Cai %!s(int64=15) %!d(string=hai) anos
pai
achega
ec2aadb408
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/usb/musb/blackfin_usb.h

+ 1 - 1
drivers/usb/musb/blackfin_usb.h

@@ -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