From: Bo Shen Date: Thu, 7 Aug 2014 03:43:07 +0000 (+0800) Subject: usb: atmel_usba_udc: fix it to deal with final dma channel X-Git-Tag: omap-fixes-against-v3.17-rc3~24^2~15^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcabdc24dff2d65dcc5bec093f30302283e5fdf4;p=pandora-kernel.git 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 Signed-off-by: Bo Shen Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed