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)
commit6bab1c6afdca0371cfa957079b36b78d12dd2cf5
tree6e676363ca35f3f8c45ead8f719d42fc72d6ab2e
parent72b195cb716284217e8b270af420bc7e5cf04b3c
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: e87ffbdf0697 ("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