Skip to content
Snippets Groups Projects
Commit bcabdc24 authored by Bo Shen's avatar Bo Shen Committed by Felipe Balbi
Browse files

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: default avatarMax Liao <liaops@embest-tech.com>
Signed-off-by: default avatarBo Shen <voice.shen@atmel.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 20e7d465
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment