Skip to content

Commit 0efc135

Browse files
Peter Ujfalusigregkh
authored andcommitted
usb: musb: tusb6010: Add MUSB_G_NO_SKB_RESERVE to quirks
When using the g_ncm for networking this flag will make sure that the buffer is aligned to 32bit so the DMA can be used to offload the data movement. Signed-off-by: Peter Ujfalusi <[email protected]> Tested-by: Tony Lindgren <[email protected]> Signed-off-by: Bin Liu <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 1fa07c3 commit 0efc135

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/usb/musb/tusb6010.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1181,7 +1181,8 @@ static int tusb_musb_exit(struct musb *musb)
11811181
}
11821182

11831183
static const struct musb_platform_ops tusb_ops = {
1184-
.quirks = MUSB_DMA_TUSB_OMAP | MUSB_IN_TUSB,
1184+
.quirks = MUSB_DMA_TUSB_OMAP | MUSB_IN_TUSB |
1185+
MUSB_G_NO_SKB_RESERVE,
11851186
.init = tusb_musb_init,
11861187
.exit = tusb_musb_exit,
11871188

0 commit comments

Comments
 (0)