]> git.baikalelectronics.ru Git - kernel.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)
commit13052664b3aa4e2e2a3ba956fc3a72159b578b38
treedea8ab21088f8ff8dc08ff5a7920e4e5666d1460
parent2bd9afc18330ddb057f7f3726673b2691a18b9ef
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