[PATCH v2] mtd/mxc_nand: don't call mtd->{suspend,resume} explicitly

Artem Bityutskiy dedekind1 at gmail.com
Wed Jul 7 10:17:11 EDT 2010


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 <eric at eukrea.com>
> Acked-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>

Pushed to l2-mtd-2.6.git / dunno

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)




More information about the linux-mtd mailing list