]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00172281 GPMI : fix the wrong flag for send_page()
authorHuang Shijie <b32955@freescale.com>
Wed, 18 Jan 2012 04:45:45 +0000 (12:45 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:33:48 +0000 (08:33 +0200)
There is only one DMA command in the chain,
So MXS_DMA_F_APPEND is not needed.

Signed-off-by: Huang Shijie <b32955@freescale.com>
drivers/mtd/nand/gpmi-nfc/hal-mx50.c

index 55c4f8573cef8cb423698be22ab011d16e9f163a..dba7ed508615f3a0fbdfad64cf833684595d9291 100644 (file)
@@ -757,7 +757,7 @@ static int send_page(struct gpmi_nfc_data *this,
        desc = channel->device->device_prep_slave_sg(channel,
                                        (struct scatterlist *)pio,
                                        ARRAY_SIZE(pio), DMA_NONE,
-                                       MXS_DMA_F_APPEND | MXS_DMA_F_WAIT4END);
+                                       MXS_DMA_F_WAIT4END);
        if (!desc) {
                pr_info("step 2 error");
                return -1;