Re: [PATCH] Fix memory issue in non-DMA mode for MUSB gadget

2018-08-03 Thread Bin Liu
egards, > Alexey Spirkov > > -Original Message- > From: Bin Liu > Sent: Thursday, August 2, 2018 7:15 PM > To: Alexey Spirkov > Cc: Greg Kroah-Hartman ; > linux-usb@vger.kernel.org; and...@ncrmnt.org > Subject: Re: [PATCH] Fix memory issue in non-DMA mode for MUSB

RE: [PATCH] Fix memory issue in non-DMA mode for MUSB gadget

2018-08-02 Thread Alexey Spirkov
Sent: Thursday, August 2, 2018 7:15 PM To: Alexey Spirkov Cc: Greg Kroah-Hartman ; linux-usb@vger.kernel.org; and...@ncrmnt.org Subject: Re: [PATCH] Fix memory issue in non-DMA mode for MUSB gadget Hi, On Thu, Jul 26, 2018 at 12:52:57PM +, Alexey Spirkov wrote: > dma_mapping_error function

Re: [PATCH] Fix memory issue in non-DMA mode for MUSB gadget

2018-08-02 Thread Bin Liu
On Thu, Aug 02, 2018 at 11:14:32AM -0500, Bin Liu wrote: > Hi, > > On Thu, Jul 26, 2018 at 12:52:57PM +, Alexey Spirkov wrote: > > dma_mapping_error function unable to works in PowerPC arch > > when MUSB do not use DMA (illegal memory access). Proposed > > patch replace its usage to usual defi

Re: [PATCH] Fix memory issue in non-DMA mode for MUSB gadget

2018-08-02 Thread Bin Liu
Hi, On Thu, Jul 26, 2018 at 12:52:57PM +, Alexey Spirkov wrote: > dma_mapping_error function unable to works in PowerPC arch > when MUSB do not use DMA (illegal memory access). Proposed > patch replace its usage to usual define for checking DMA mapping. > > Signed-off-by: Alexey Spirkov > --

[PATCH] Fix memory issue in non-DMA mode for MUSB gadget

2018-07-26 Thread Alexey Spirkov
dma_mapping_error function unable to works in PowerPC arch when MUSB do not use DMA (illegal memory access). Proposed patch replace its usage to usual define for checking DMA mapping. Signed-off-by: Alexey Spirkov --- drivers/usb/musb/musb_gadget.c | 2 +- 1 file changed, 1 insertion(+), 1 delet