]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MLK-9957 mtd: NAND: fix the kernel panic issue for NAND suspend/resume
authorAllen Xu <b45815@freescale.com>
Thu, 4 Dec 2014 13:51:48 +0000 (21:51 +0800)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:20:01 +0000 (21:20 -0600)
commit41da5851e882ecfb911d33dee038182318ee1dbe
tree71a4a9ef820da0ea44f5541d84c4cf5fee1e3a54
parent1fd6ce83c5e9e1eebb484ad62da0229b1e571fda
MLK-9957 mtd: NAND: fix the kernel panic issue for NAND suspend/resume

The branch determined by GPMI_IS_MX6SX() should not include
acquire_dma_channels() function which causes unbalanced dma
request/release on other platform.

Removed GPMI_IS_MX6SX() to make code simple although it is not necessary
to restore GPMI/BCH registers for i.MX6Q/DL

Signed-off-by: Allen Xu <b45815@freescale.com>
(cherry picked from commit 54cd0fe03180dc44e3783bca1546e61d698abd2f)
drivers/mtd/nand/gpmi-nand/gpmi-nand.c