]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbe0fec971247ed9b41893aab16dcf8dabeef2e16
tree2959ffd3912316c17e19a645310e86bf36859600
parent7f95a1d81089d28f02aa3281efa3f1cded9d5a4c
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