diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2017-06-16 10:40:57 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-20 11:45:01 +0800 |
commit | 0efc1356393a5149287c51addc4242ce51aa867c (patch) | |
tree | 7d4d9f61dbcfe0ad9e789ff801eb7019035717e1 /drivers | |
parent | 1fa07c370bba23aa596ca143b90b64cd35918ec2 (diff) | |
download | linux-stable-0efc1356393a5149287c51addc4242ce51aa867c.tar.gz linux-stable-0efc1356393a5149287c51addc4242ce51aa867c.tar.bz2 linux-stable-0efc1356393a5149287c51addc4242ce51aa867c.zip |
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 <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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/musb/tusb6010.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/musb/tusb6010.c b/drivers/usb/musb/tusb6010.c index e85cc8e4e7a9..4253bfb22043 100644 --- a/drivers/usb/musb/tusb6010.c +++ b/drivers/usb/musb/tusb6010.c @@ -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, |