]> asedeno.scripts.mit.edu Git - linux.git/commit
dmaengine: omap-dma: Implement protection for invalid max_burst
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Tue, 3 Oct 2017 08:35:38 +0000 (11:35 +0300)
committerVinod Koul <vinod.koul@intel.com>
Thu, 12 Oct 2017 16:43:48 +0000 (22:13 +0530)
commit05ec62a106a3b358cdc6ac41025b320dc2dbcb3f
treedea8ab21088f8ff8dc08ff5a7920e4e5666d1460
parentea09ea51ddb9c5026e3f2090598049302c194427
dmaengine: omap-dma: Implement protection for invalid max_burst

the device's max_burst to 16777215 (EN is 24bit unsigned value) so
clients can take this into consideration when setting up the transfer.

During slave transfer preparation check if the requested maxburst is valid.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Cc: Russell King <linux@armlinux.org.uk>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/omap-dma.c