diff options
author | Allen-KH Cheng <[email protected]> | 2022-04-12 19:57:43 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-04-12 17:18:51 +0100 |
commit | 317c2045618cc1f8d38beb8c93a7bdb6ad8638c6 (patch) | |
tree | 690adad1bd87dccc5d6ce03d7f0f0fc2001a7e28 /lib/mpi/mpi-sub-ui.c | |
parent | 2c7d1b281286c46049cd22b43435cecba560edde (diff) |
spi: spi-mtk-nor: initialize spi controller after resume
After system resumes, the registers of nor controller are
initialized with default values. The nor controller will
not function properly.
To handle both issues above, we add mtk_nor_init() in
mtk_nor_resume after pm_runtime_force_resume().
Fixes: 3bfd9103c7af ("spi: spi-mtk-nor: Add power management support")
Signed-off-by: Allen-KH Cheng <[email protected]>
Reviewed-by: Rex-BC Chen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions