spi:pl022-starfive:Avoid power device error when CONFIG_PM enable
authorxingyu.wu <xingyu.wu@starfivetech.com>
Tue, 19 Jul 2022 06:49:20 +0000 (14:49 +0800)
committerxingyu.wu <xingyu.wu@starfivetech.com>
Tue, 19 Jul 2022 06:49:24 +0000 (14:49 +0800)
commitc4eef3b4b80e2641b2f8f2cee142dbcc8c0639de
tree93f043db5873a31d5b1dd806b0f7411515aaae49
parent752096c0a136ab3cf1bbeca824ae10cf93bbf0d3
spi:pl022-starfive:Avoid power device error when CONFIG_PM enable

It would be error when CONFIG_PM enable and use overlay by of-platform to register.
And disable 'auto_runtime_pm' can be avoid.

And add some power manager operation in platform probe function.

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
drivers/spi/spi-pl022-starfive.c