RE: [PATCH 4/8] usb: bdc: Small code cleanup

2017-06-29 Thread David Laight
From: Al Cooper > Sent: 28 June 2017 15:56 > On Wed, Jun 28, 2017 at 4:47 AM, David Laight wrote: > >> > >> temp = bdc_readl(bdc->regs, BDC_BDCSC); > >> if ((temp & BDC_P64) && > >> !dma_set_mask_and_coherent(dev, DMA_BIT_MASK(64))) { >

RE: [PATCH 4/8] usb: bdc: Small code cleanup

2017-06-29 Thread David Laight
From: Al Cooper > Sent: 28 June 2017 15:56 > On Wed, Jun 28, 2017 at 4:47 AM, David Laight wrote: > >> > >> temp = bdc_readl(bdc->regs, BDC_BDCSC); > >> if ((temp & BDC_P64) && > >> !dma_set_mask_and_coherent(dev, DMA_BIT_MASK(64))) { > >> -

Re: [PATCH 4/8] usb: bdc: Small code cleanup

2017-06-28 Thread Al Cooper
On Wed, Jun 28, 2017 at 4:47 AM, David Laight wrote: >> >> temp = bdc_readl(bdc->regs, BDC_BDCSC); >> if ((temp & BDC_P64) && >> !dma_set_mask_and_coherent(dev, DMA_BIT_MASK(64))) { >> - dev_dbg(bdc->dev, "Using 64-bit

Re: [PATCH 4/8] usb: bdc: Small code cleanup

2017-06-28 Thread Al Cooper
On Wed, Jun 28, 2017 at 4:47 AM, David Laight wrote: >> >> temp = bdc_readl(bdc->regs, BDC_BDCSC); >> if ((temp & BDC_P64) && >> !dma_set_mask_and_coherent(dev, DMA_BIT_MASK(64))) { >> - dev_dbg(bdc->dev, "Using 64-bit address\n"); >> +

RE: [PATCH 4/8] usb: bdc: Small code cleanup

2017-06-28 Thread David Laight
From: Al Cooper > Sent: 27 June 2017 19:23 > Signed-off-by: Al Cooper > --- > drivers/usb/gadget/udc/bdc/bdc_core.c | 15 --- > 1 file changed, 8 insertions(+), 7 deletions(-) > > diff --git a/drivers/usb/gadget/udc/bdc/bdc_core.c >

RE: [PATCH 4/8] usb: bdc: Small code cleanup

2017-06-28 Thread David Laight
From: Al Cooper > Sent: 27 June 2017 19:23 > Signed-off-by: Al Cooper > --- > drivers/usb/gadget/udc/bdc/bdc_core.c | 15 --- > 1 file changed, 8 insertions(+), 7 deletions(-) > > diff --git a/drivers/usb/gadget/udc/bdc/bdc_core.c > b/drivers/usb/gadget/udc/bdc/bdc_core.c > index