From 83b6be1db11c0a6758efc74e38a805ae3d3c98ad Mon Sep 17 00:00:00 2001 From: Nicolin Chen Date: Fri, 2 Aug 2013 17:12:11 +0800 Subject: [PATCH] ENGR00273673-1 dma: imx-sdma: Fix wrong total script number The total number should be 35. Thus fix it. Signed-off-by: Nicolin Chen --- drivers/dma/imx-sdma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c index 1e44b8cf95da..d67e86a8172b 100644 --- a/drivers/dma/imx-sdma.c +++ b/drivers/dma/imx-sdma.c @@ -7,7 +7,7 @@ * * Based on code from Freescale: * - * Copyright 2004-2009 Freescale Semiconductor, Inc. All Rights Reserved. + * Copyright 2004-2013 Freescale Semiconductor, Inc. All Rights Reserved. * * The code contained herein is licensed under the GNU General Public * License. You may obtain a copy of the GNU General Public License @@ -1143,7 +1143,7 @@ static void sdma_issue_pending(struct dma_chan *chan) sdma_enable_channel(sdma, sdmac->channel); } -#define SDMA_SCRIPT_ADDRS_ARRAY_SIZE_V1 34 +#define SDMA_SCRIPT_ADDRS_ARRAY_SIZE_V1 35 static void sdma_add_scripts(struct sdma_engine *sdma, const struct sdma_script_start_addrs *addr) -- 2.39.5