]> Git Repo - linux.git/commit
usb: dwc2: host: don't use dma_alloc_coherent with irqs disabled
authorGregory Herrero <[email protected]>
Wed, 29 Apr 2015 20:09:16 +0000 (22:09 +0200)
committerFelipe Balbi <[email protected]>
Wed, 29 Apr 2015 20:20:00 +0000 (15:20 -0500)
commitdb62b9a804b465f5050438eb06151c99c625ec9a
treedd167e381e31826ef95c1d9718908494c2f8fdcf
parent33ad261aa62be02f0cedeb4d5735cc726de84a3f
usb: dwc2: host: don't use dma_alloc_coherent with irqs disabled

Align buffer must be allocated using kmalloc since irqs are disabled.
Coherency is handled through dma_map_single which can be used with irqs
disabled.

Reviewed-by: Julius Werner <[email protected]>
Acked-by: John Youn <[email protected]>
Signed-off-by: Gregory Herrero <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
drivers/usb/dwc2/hcd.c
drivers/usb/dwc2/hcd_intr.c
drivers/usb/dwc2/hcd_queue.c
This page took 0.07204 seconds and 4 git commands to generate.