mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-19 20:34:20 +08:00
usb: amd5536udc: Fix coding style issues.
Remove unnecessary whitespaces. Signed-off-by: Cyril Roelandt <tipecaml@gmail.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
parent
170b778ffb
commit
5647a149e2
@ -2115,7 +2115,7 @@ static irqreturn_t udc_data_out_isr(struct udc *dev, int ep_ix)
|
||||
if (use_dma) {
|
||||
/* BNA event ? */
|
||||
if (tmp & AMD_BIT(UDC_EPSTS_BNA)) {
|
||||
DBG(dev, "BNA ep%dout occurred - DESPTR = %x \n",
|
||||
DBG(dev, "BNA ep%dout occurred - DESPTR = %x\n",
|
||||
ep->num, readl(&ep->regs->desptr));
|
||||
/* clear BNA */
|
||||
writel(tmp | AMD_BIT(UDC_EPSTS_BNA), &ep->regs->sts);
|
||||
@ -2330,7 +2330,7 @@ static irqreturn_t udc_data_in_isr(struct udc *dev, int ep_ix)
|
||||
/* BNA ? */
|
||||
if (epsts & AMD_BIT(UDC_EPSTS_BNA)) {
|
||||
dev_err(&dev->pdev->dev,
|
||||
"BNA ep%din occurred - DESPTR = %08lx \n",
|
||||
"BNA ep%din occurred - DESPTR = %08lx\n",
|
||||
ep->num,
|
||||
(unsigned long) readl(&ep->regs->desptr));
|
||||
|
||||
@ -2343,7 +2343,7 @@ static irqreturn_t udc_data_in_isr(struct udc *dev, int ep_ix)
|
||||
/* HE event ? */
|
||||
if (epsts & AMD_BIT(UDC_EPSTS_HE)) {
|
||||
dev_err(&dev->pdev->dev,
|
||||
"HE ep%dn occurred - DESPTR = %08lx \n",
|
||||
"HE ep%dn occurred - DESPTR = %08lx\n",
|
||||
ep->num, (unsigned long) readl(&ep->regs->desptr));
|
||||
|
||||
/* clear HE */
|
||||
@ -2703,7 +2703,7 @@ static irqreturn_t udc_control_in_isr(struct udc *dev)
|
||||
tmp = readl(&dev->ep[UDC_EP0IN_IX].regs->sts);
|
||||
/* DMA completion */
|
||||
if (tmp & AMD_BIT(UDC_EPSTS_TDC)) {
|
||||
VDBG(dev, "isr: TDC clear \n");
|
||||
VDBG(dev, "isr: TDC clear\n");
|
||||
ret_val = IRQ_HANDLED;
|
||||
|
||||
/* clear TDC bit */
|
||||
|
Loading…
Reference in New Issue
Block a user