Skip to content

Commit

Permalink
usb: musb: tusb6010: Add MUSB_G_NO_SKB_RESERVE to quirks
Browse files Browse the repository at this point in the history
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 <peter.ujfalusi@ti.com>
Tested-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Peter Ujfalusi authored and Greg Kroah-Hartman committed Jun 20, 2017
1 parent 1fa07c3 commit 0efc135
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/usb/musb/tusb6010.c
Original file line number Diff line number Diff line change
Expand Up @@ -1181,7 +1181,8 @@ static int tusb_musb_exit(struct musb *musb)
}

static const struct musb_platform_ops tusb_ops = {
.quirks = MUSB_DMA_TUSB_OMAP | MUSB_IN_TUSB,
.quirks = MUSB_DMA_TUSB_OMAP | MUSB_IN_TUSB |
MUSB_G_NO_SKB_RESERVE,
.init = tusb_musb_init,
.exit = tusb_musb_exit,

Expand Down

0 comments on commit 0efc135

Please sign in to comment.