]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: gpmi: fix the wrong DMA command.
authorHuang Shijie <b32955@freescale.com>
Mon, 12 Mar 2012 02:22:18 +0000 (10:22 +0800)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 26 Mar 2012 23:56:52 +0000 (00:56 +0100)
commit085123c8ec15f7b4476d2e589feee00b57331b02
treee13b620b0413f71954eb53390ed2c5461d31265a
parentab0459064558c259f587c96af00c36d74945ea0a
mtd: gpmi: fix the wrong DMA command.

The last DMA command of ECC read page is used to disable the BCH module.
But the original code missed to set the pio[2] which is used to set the
GPMI_HW_GPMI_ECCCTRL register. fix it now.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/gpmi-nand/gpmi-lib.c