ata: sata_dwc_460ex: set dma_boundary to 0x1fff
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 26 Apr 2016 09:03:04 +0000 (12:03 +0300)
committerTejun Heo <tj@kernel.org>
Tue, 10 May 2016 16:29:18 +0000 (12:29 -0400)
commit6689dfac00ef3118f88d5b06e1f1d13899b79997
tree52d6622bc3145f61585513fe6f24736e8ba5e077
parenta7e6de544c5c238a06935c96d27151432c94d2e6
ata: sata_dwc_460ex: set dma_boundary to 0x1fff

The original code states:

Make sure a LLI block is not created that will span 8K max FIS
boundary. If the block spans such a FIS boundary, there is a chance
that a DMA burst will cross that boundary -- this results in an error
in the host controller.

Since we have switched to generic DMAengine API we satisfy above by setting
dma_boundary value to 0x1fff.

Suggested-by: Mans Rullgard <mans@mansr.com>
Tested-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/sata_dwc_460ex.c