[PATCH 1/2] usb: musb: Fix DMA for host mode

2016-02-01 Thread Joshua Henderson
after receiving an endpoint rx interrupt without waiting for the dma transfer to complete. As a consequence when the dma complete interrupt arrives the in_qh member of hw_ep is already null an the musb_host_rx() exits on !urb error case. Signed-off-by: Cristian Birsan Signed-off-by: Joshua Henderson

[PATCH 2/2] usb: musb: Fix DMA desired mode for Mentor DMA engine

2016-02-01 Thread Joshua Henderson
assigned the actual mode value. This results in the value of channel->desired_mode not being correct. Signed-off-by: Cristian Birsan Signed-off-by: Joshua Henderson --- drivers/usb/musb/musb_host.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/musb/musb_hos

Re: [PATCH 2/2] usb: musb: Fix DMA desired mode for Mentor DMA engine

2016-02-02 Thread Joshua Henderson
Sergei, On 02/02/2016 06:32 AM, Sergei Shtylyov wrote: > On 2/2/2016 3:37 AM, Joshua Henderson wrote: > >> From: Cristian Birsan >> >> Commit 6b6e97107f12f3a9f7 (USB: musb: fix isochronous TXDMA (take 2)) >> introduces > >Again, wrong commit style

[PATCH v2 2/2] usb: musb: Fix DMA desired mode for Mentor DMA engine

2016-02-08 Thread Joshua Henderson
should be assigned the actual mode value. This results in the value of channel->desired_mode not being correct. Signed-off-by: Cristian Birsan Signed-off-by: Joshua Henderson --- Changes since v1: - Fix commit comment citing the cause of the regression. --- drivers/usb/musb/musb_host.c

[PATCH v2 1/2] usb: musb: Fix DMA for host mode

2016-02-08 Thread Joshua Henderson
mmediately after receiving an endpoint rx interrupt without waiting for the dma transfer to complete. As a consequence when the dma complete interrupt arrives the in_qh member of hw_ep is already null an the musb_host_rx() exits on !urb error case. Signed-off-by: Cristian Birsan Signed-off-

[PATCH v3 1/2] usb: musb: Fix DMA for host mode

2016-02-11 Thread Joshua Henderson
mmediately after receiving an endpoint RX interrupt without waiting for the DMA transfer to complete. As a consequence when the dma complete interrupt arrives the in_qh member of hw_ep is already null an the musb_host_rx() exits on !urb error case. Signed-off-by: Cristian Birsan Signed-off-

[PATCH v3 2/2] usb: musb: Fix DMA desired mode for Mentor DMA engine

2016-02-11 Thread Joshua Henderson
instead be assigned the actual mode value. This results in the value of channel->desired_mode not being correct. Signed-off-by: Cristian Birsan Signed-off-by: Joshua Henderson --- Changes since v2: - Fix wording in commit message. Changes since v1: - Fix commit comment citing the

[PATCH v4 1/2] usb: musb: Fix DMA for host mode

2016-02-19 Thread Joshua Henderson
mmediately after receiving an endpoint RX interrupt without waiting for the DMA transfer to complete. As a consequence when the dma complete interrupt arrives the in_qh member of hw_ep is already null an the musb_host_rx() exits on !urb error case. Signed-off-by: Cristian Birsan Signed-off-

[PATCH v4 2/2] usb: musb: Fix DMA desired mode for Mentor DMA engine

2016-02-19 Thread Joshua Henderson
instead be assigned the actual mode value. This results in the value of channel->desired_mode not being correct. Signed-off-by: Cristian Birsan Signed-off-by: Joshua Henderson Tested-by: Ladislav Michl Acked-by: Sergei Shtylyov --- Changes since v3: None Changes since v2: - Fix word