]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: pxa3xx_nand: enhance suspend and resume routine
authorLei Wen <leiwen@marvell.com>
Fri, 15 Jul 2011 03:44:30 +0000 (20:44 -0700)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Tue, 16 Aug 2011 13:46:02 +0000 (16:46 +0300)
commitbe96bdda8ec1f1d88811467edbd7249b4d1a1c5e
treeb58d1bd8ebb4c081915c9b7a098cf13bc67e70bc
parent2449c7a05942fe17d96ce5bfceda5eb585e47717
mtd: pxa3xx_nand: enhance suspend and resume routine

This patch add protection on the suspend&resume path to prevent
some unexpected behavior, like interrupt occur at the very second
of resume back and it don't follow normal command path, which lead
to bug.

Signed-off-by: Lei Wen <leiwen@marvell.com>
drivers/mtd/nand/pxa3xx_nand.c