[PATCH] spi: spi-mtk-nor: initialize spi controller after resume

Rex-BC Chen rex-bc.chen at mediatek.com
Tue Apr 12 05:27:55 PDT 2022


On Tue, 2022-04-12 at 19:57 +0800, Allen-KH Cheng wrote:
> 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 <allen-kh.cheng at mediatek.com>
> ---

Reviewed-by: Rex-BC Chen <rex-bc.chen at mediatek.com>




More information about the Linux-mediatek mailing list