Searched hist:"1 fa07c370bba23aa596ca143b90b64cd35918ec2" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/usb/musb/ |
H A D | musb_core.h | diff 1fa07c370bba23aa596ca143b90b64cd35918ec2 Fri Jun 16 10:40:56 CDT 2017 Peter Ujfalusi <peter.ujfalusi@ti.com> usb: musb: Add quirk to avoid skb reserve in gadget mode
For tusb6010 the DMA functionality only possible if the buffer is 32bit aligned (SYNC access to FIFO) since with ASYNC access the TX/RX offset registers will corrupt eventually. The MUSB_G_NO_SKB_RESERVE will set the quirk_avoids_skb_reserve flag in usb_gadget struct to provide correctly aligned buffer.
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>
|
H A D | musb_core.c | diff 1fa07c370bba23aa596ca143b90b64cd35918ec2 Fri Jun 16 10:40:56 CDT 2017 Peter Ujfalusi <peter.ujfalusi@ti.com> usb: musb: Add quirk to avoid skb reserve in gadget mode
For tusb6010 the DMA functionality only possible if the buffer is 32bit aligned (SYNC access to FIFO) since with ASYNC access the TX/RX offset registers will corrupt eventually. The MUSB_G_NO_SKB_RESERVE will set the quirk_avoids_skb_reserve flag in usb_gadget struct to provide correctly aligned buffer.
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>
|