summaryrefslogtreecommitdiff
path: root/drivers/usb/musb/ux500_dma.c
diff options
context:
space:
mode:
authorBo Shen <voice.shen@atmel.com>2014-08-07 07:43:07 +0400
committerFelipe Balbi <balbi@ti.com>2014-08-19 18:24:41 +0400
commitbcabdc24dff2d65dcc5bec093f30302283e5fdf4 (patch)
tree4ff7778baae1956ebfc618db0cf1129aa07e0621 /drivers/usb/musb/ux500_dma.c
parent20e7d4653d2b580e490dfbb1dfd138cd9844319c (diff)
downloadlinux-bcabdc24dff2d65dcc5bec093f30302283e5fdf4.tar.xz
usb: atmel_usba_udc: fix it to deal with final dma channel
As, the interrupt for DMA is counted from 1, so need to checked the USBA_NR_DMAS, in old way, it only check (USBA_NR_DMAS - 1), so fix it. Reported-by: Max Liao <liaops@embest-tech.com> Signed-off-by: Bo Shen <voice.shen@atmel.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb/ux500_dma.c')
0 files changed, 0 insertions, 0 deletions