[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <29a0d0e1f9ad2f14be56410e5a9e123d6a35dfe3.camel@mediatek.com>
Date: Tue, 12 Apr 2022 20:27:55 +0800
From: Rex-BC Chen <rex-bc.chen@...iatek.com>
To: Allen-KH Cheng <allen-kh.cheng@...iatek.com>,
Mark Brown <broonie@...nel.org>,
Matthias Brugger <matthias.bgg@...il.com>,
"Ikjoon Jang" <ikjn@...omium.org>
CC: <linux-spi@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-mediatek@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>,
<Project_Global_Chrome_Upstream_Group@...iatek.com>
Subject: Re: [PATCH] spi: spi-mtk-nor: initialize spi controller after resume
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@...iatek.com>
> ---
Reviewed-by: Rex-BC Chen <rex-bc.chen@...iatek.com>
Powered by blists - more mailing lists