]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: mxc-nand: don't disable clock in mxcnd-suspend
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 11 Jan 2010 16:53:16 +0000 (17:53 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 25 Feb 2010 11:28:35 +0000 (11:28 +0000)
commitf20e044bcf4b2cde1c118b014df83427565d41bf
tree7d8dbc3330feffc2ac285dc6636862577055c411
parent341b67464fbc350083fe65ccc12b6d2c3fe7bbb4
mtd: mxc-nand: don't disable clock in mxcnd-suspend

The clock must already be off after mtd->suspend.  Disabling it again
results in an negative overflow of the clock usage count.  This didn't
hurt as mxcnd_resume undid it after wake up.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/mxc_nand.c