[RFC] Is runtime_pm in the RSPI driver broken?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello SPI and Renesas people (and Geert),

Before I submit a patch, is the rspi.c driver really broken or not?

I'm working with the RZ/A2M at the moment.

Runtime pm was added by Geert back in 2014. (commit 490c97747d5d)

But I'm noticing now that if I turn off all the clocks in u-boot before 
I boot, SPI does not work.

However, if I add a pm_runtime_get_sync() call do the driver, it works 
fine.

So, am I missing something? It seems that the driver is not going to 
work correctly unless pm_runtime_get_sync() gets called.

Thank you,
Chris





[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux