MLK-11236 mtd: gpmi-nand: Fix nand runtime PM issue
authorYe.Li <Ye.Li@freescale.com>
Fri, 10 Jul 2015 11:13:53 +0000 (19:13 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:47:31 +0000 (14:47 -0500)
commit9f32a690f6236224a7f4893ec9568f59eafbfb56
treee753391327b53b6b05e16b97185c9c0fda7fb793
parent6eeba95d6b12849ea6a19685edeb32704f454c98
MLK-11236 mtd: gpmi-nand: Fix nand runtime PM issue

Because of the delay of auto suspend, the nand clocks are delayed to
disable when calling the clk_set_rate. This causes the clk_set_rate
failed on some platforms like 6q/6qp, and finally lead the NAND not
working.

Signed-off-by: Ye.Li <Ye.Li@freescale.com>
Signed-off-by: Fugang Duan <B38611@freescale.com>
(cherry picked from commit: 1334dd236d4401d6635accb6c8472d8a5ed088b5)
drivers/mtd/nand/gpmi-nand/gpmi-lib.c