diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2022-05-13 12:49:57 +0200 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2022-05-16 18:36:21 +0200 |
commit | 6a2277a0ebe71b45e1d5508a2d7aecd28c98e3d3 (patch) | |
tree | 689919b503859f2beaa2b805cad54f9827a07821 /lib/mpi/mpi-mod.c | |
parent | 431cbce8495551ff433c9a4225afbf8ea5270d23 (diff) |
mtd: rawnand: renesas: Use runtime PM instead of the raw clock API
This NAND controller is part of a well defined power domain handled by
the runtime PM core. Let's keep the harmony with the other RZ/N1 drivers
and exclusively use the runtime PM API to enable/disable the clocks.
We still need to retrieve the external clock rate in order to derive the
NAND timings, but that is not a big deal, we can still do that in the
probe and just save this value to reuse it later.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/linux-mtd/20220513104957.257721-3-miquel.raynal@bootlin.com
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions