mtd: gpmi: change the code for clocks
authorHuang Shijie <shijie8@gmail.com>
Tue, 3 Jul 2012 01:39:32 +0000 (21:39 -0400)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 29 Sep 2012 13:50:02 +0000 (14:50 +0100)
commitff506172a30080963853dc0d259566c82fe8626c
tree2959ffd3912316c17e19a645310e86bf36859600
parent894824f9731a805b70b553220ae58e5475ff6ff1
mtd: gpmi: change the code for clocks

The gpmi nand driver may needs several clocks(MX6Q needs five clocks).

In the old clock framework, all these clocks are chained together,
all you need is to manipulate the first clock.

But the kernel uses the common clk framework now, which forces us to
get the clocks one by one. When we use them, we have to enable them
one by one too.

Signed-off-by: Huang Shijie <shijie8@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/gpmi-nand/gpmi-lib.c
drivers/mtd/nand/gpmi-nand/gpmi-nand.c
drivers/mtd/nand/gpmi-nand/gpmi-nand.h