commit | bcabdc24dff2d65dcc5bec093f30302283e5fdf4 | [log] [tgz] |
---|---|---|
author | Bo Shen <voice.shen@atmel.com> | Thu Aug 07 11:43:07 2014 +0800 |
committer | Felipe Balbi <balbi@ti.com> | Tue Aug 19 09:24:41 2014 -0500 |
tree | 4ff7778baae1956ebfc618db0cf1129aa07e0621 | |
parent | 20e7d4653d2b580e490dfbb1dfd138cd9844319c [diff] |
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>