]> git.karo-electronics.de Git - linux-beck.git/commit
staging: dwc2: fix thinko in dwc2_fill_host_dma_desc()
authorPaul Zimmerman <Paul.Zimmerman@synopsys.com>
Mon, 25 Nov 2013 21:42:45 +0000 (13:42 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Dec 2013 16:31:08 +0000 (08:31 -0800)
commit0b851be2737fa7533facfbf3be46678d180fee80
treee8cb7e009c5299f8f3b04acfb813e026576c4788
parent54216acee5a408411ca23e727a5315ace5acf0c4
staging: dwc2: fix thinko in dwc2_fill_host_dma_desc()

The check against MAX_DMA_DESC_SIZE didn't make sense, fix it

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dwc2/hcd_ddma.c