These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / drivers / dma / ste_dma40.c
index 3c10f03..dd3e7ba 100644 (file)
@@ -2853,7 +2853,7 @@ static void d40_ops_init(struct d40_base *base, struct dma_device *dev)
                 * This controller can only access address at even
                 * 32bit boundaries, i.e. 2^2
                 */
-               dev->copy_align = 2;
+               dev->copy_align = DMAENGINE_ALIGN_4_BYTES;
        }
 
        if (dma_has_cap(DMA_SG, dev->cap_mask))
@@ -2907,7 +2907,7 @@ static int __init d40_dmaengine_init(struct d40_base *base,
 
        if (err) {
                d40_err(base->dev,
-                       "Failed to regsiter memcpy only channels\n");
+                       "Failed to register memcpy only channels\n");
                goto failure2;
        }