[PATCH v2] mtd/mxc_nand: don't call mtd->{suspend,resume} explicitly
From: dedekind1@gmail.com (Artem Bityutskiy)
Date: 2010-07-07 14:17:11
From: dedekind1@gmail.com (Artem Bityutskiy)
Date: 2010-07-07 14:17:11
On Thu, 2010-06-17 at 20:59 +0200, Eric B?nard wrote:
The mtd layer is responsible to call mtd->{suspend,resume}. Doing it
again in the driver is wrong and results in a warning:
nand_resume called for a chip which is not in suspended state
at resume time. Removing the calls from the resume and suspend
functions makes them empty allowing them to be deleted completely.
Signed-off-by: Eric B?nard <redacted>
Acked-by: Uwe Kleine-K?nig <redacted>Pushed to l2-mtd-2.6.git / dunno -- Best Regards, Artem Bityutskiy (????? ????????)