nand: mxc_nand: Use clk_prepare_enable/clk_disable_unprepare
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 25 May 2012 23:14:50 +0000 (20:14 -0300)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 6 Jul 2012 17:17:05 +0000 (18:17 +0100)
commit3d059693f6e0489066a98f455601137fa003df77
tree971c9b5ff16f55230ed258ebc955a077453e3053
parent1696e6bc2ae83734e64e206ac99766ea19e9a14e
nand: mxc_nand: Use clk_prepare_enable/clk_disable_unprepare

Prepare the clock before enabling it.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/mxc_nand.c