]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: pxa_dma: fix the maximum requestor line
authorRobert Jarzmik <robert.jarzmik@free.fr>
Mon, 15 Feb 2016 20:57:48 +0000 (21:57 +0100)
committerRobert Jarzmik <robert.jarzmik@free.fr>
Fri, 26 Feb 2016 21:57:45 +0000 (22:57 +0100)
commit6600cbea479b1dd85824f6086fad7d062f071169
tree6e676363ca35f3f8c45ead8f719d42fc72d6ab2e
parent0adc73acc9ccc03205caa123974f66a4a47a3b84
dmaengine: pxa_dma: fix the maximum requestor line

The current number of requestor lines is limited to 31. This was an
error of a previous commit, as this number is platform dependent, and is
actually :
 - for pxa25x: 40 requestor lines
 - for pxa27x: 75 requestor lines
 - for pxa3xx: 100 requestor lines

The previous testing did not reveal the faulty constant as on pxa[23]xx
platforms, only camera, MSL and USB are above requestor 32, and in these
only the camera has a driver using dma.

Fixes: 5a29afa1f059 ("dmaengine: pxa_dma: fix the no-requestor case")
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Acked-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/pxa_dma.c