projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c9b65e
)
usb: pcd: updata ep0 buffer address of multi-packet transfer
author
lyz
<lyz@rock-chips.com>
Wed, 14 Aug 2013 08:28:50 +0000
(16:28 +0800)
committer
lyz
<lyz@rock-chips.com>
Wed, 14 Aug 2013 08:54:40 +0000
(16:54 +0800)
drivers/usb/dwc_otg/dwc_otg_cil.c
patch
|
blob
|
history
diff --git
a/drivers/usb/dwc_otg/dwc_otg_cil.c
b/drivers/usb/dwc_otg/dwc_otg_cil.c
index f1e39436f5538f81ccd224ec4520801ac47f7641..35e88832a25673c2e628c6efbc4469e143a7b59d 100755
(executable)
--- a/
drivers/usb/dwc_otg/dwc_otg_cil.c
+++ b/
drivers/usb/dwc_otg/dwc_otg_cil.c
@@
-2591,8
+2591,8
@@
void dwc_otg_ep0_continue_transfer(dwc_otg_core_if_t *_core_if, dwc_ep_t *_ep)
/* Write the DMA register */
if (_core_if->hwcfg2.b.architecture == DWC_INT_DMA_ARCH)
{
- dwc_write_reg32 (&(in_regs->diepdma),
-
(uint32_t)_ep->dma_addr)
;
+ dwc_write_reg32 (&(in_regs->diepdma),
(uint32_t)_ep->dma_addr);
+
_ep->dma_addr += _ep->maxpacket
;
}
/* EP enable, IN data in FIFO */