[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <56C756BF.2070309@cogentembedded.com>
Date: Fri, 19 Feb 2016 20:54:07 +0300
From: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
To: Joshua Henderson <joshua.henderson@...rochip.com>,
linux-kernel@...r.kernel.org
Cc: Cristian Birsan <cristian.birsan@...rochip.com>,
Felipe Balbi <balbi@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-usb@...r.kernel.org
Subject: Re: [PATCH v4 1/2] usb: musb: Fix DMA for host mode
Hello.
On 02/19/2016 07:41 PM, Joshua Henderson wrote:
> From: Cristian Birsan <cristian.birsan@...rochip.com>
>
> Commit ac33cdb16681 ("usb: musb: Remove ifdefs for musb_host_rx in
> musb_host.c part5") introduces a problem setting DMA host mode.
>
> This commit fixes the done condition that advances the musb schedule.
> Without this patch the the msub_advance_schedule() is called immediately
> 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 <cristian.birsan@...rochip.com>
> Signed-off-by: Joshua Henderson <joshua.henderson@...rochip.com>
> Tested-by: Ladislav Michl <ladis@...ux-mips.org>
Acked-by: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
Although you didn't describe your changes to the original patch in the
change log...
MBR, Sergei
Powered by blists - more mailing lists