]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: rawnand: gpmi: use runtime PM to manage clocks
authorSascha Hauer <s.hauer@pengutronix.de>
Tue, 21 May 2019 07:06:38 +0000 (09:06 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 27 Jun 2019 18:05:28 +0000 (20:05 +0200)
commit8ba5f54812fed7d7748ecfb1353d6d1a44e2fb32
tree376519bbb935b1cadf229d6a1d83eba94db23cf7
parent4157857b9bfb7d854d2077a52100e89076ce6f83
mtd: rawnand: gpmi: use runtime PM to manage clocks

The gpmi driver aggressively en/disables the clocks between operations
which has significant performance cost. Use runtime PM to get rid of
this bottleneck.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c