]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: nand: fix multi-chip suspend problem
authorLi Yang <leoli@freescale.com>
Tue, 17 Nov 2009 22:45:49 +0000 (14:45 -0800)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 30 Nov 2009 11:41:24 +0000 (11:41 +0000)
commitea0df60534193fca2fdb1e401564dc857ce2a70d
treeb9105470cab89331af398c1554858cb69706e23a
parentf52cc8b8bb649f599d7523d0b0e08bbbbca42532
mtd: nand: fix multi-chip suspend problem

Symptom:
device_suspend(): mtd_cls_suspend+0x0/0x58 returns -11
PM: Device mtd14 failed to suspend: error -11
PM: Some devices failed to suspend

This patch enables other chips to be suspended if the active chip of
the controller has been suspended.

Signed-off-by: Jin Qing <b24347@freescale.com>
Signed-off-by: Li Yang <leoli@freescale.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/nand_base.c